44 lines
1011 B
Plaintext
44 lines
1011 B
Plaintext
|
|
worker_processes 1;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
|
'$status $body_bytes_sent "$http_referer" '
|
|
'"$http_user_agent" "$http_x_forwarded_for"'
|
|
"'$fastcgi_script_name' '$fastcgi_path_info' '$document_root'";
|
|
|
|
|
|
sendfile on;
|
|
reset_timedout_connection on;
|
|
|
|
#keepalive_timeout 0;
|
|
keepalive_timeout 65;
|
|
#tcp_nodelay on;
|
|
|
|
#gzip on;
|
|
#gzip_disable "MSIE [1-6]\.(?!.*SV1)";
|
|
|
|
server_tokens off;
|
|
|
|
fastcgi_max_temp_file_size 0;
|
|
fastcgi_buffers 16 16k;
|
|
fastcgi_buffer_size 32k;
|
|
fastcgi_pass_header X-Accel-Buffering;
|
|
|
|
fastcgi_read_timeout 600;
|
|
fastcgi_send_timeout 600;
|
|
|
|
client_max_body_size 2048m;
|
|
|
|
error_page 497 https://$hostname:$server_port$request_uri;
|
|
|
|
include /etc/sw-cp-server/conf.d/*.conf;
|
|
}
|