You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
986 B
45 lines
986 B
4 months ago
|
|
||
|
user nginx;
|
||
|
worker_processes 1;
|
||
|
|
||
|
error_log /www/log/nginx/error.log warn;
|
||
|
pid /var/run/nginx.pid;
|
||
|
|
||
|
|
||
|
|
||
|
events {
|
||
|
worker_connections 1024;
|
||
|
}
|
||
|
|
||
|
|
||
|
http {
|
||
|
include /etc/nginx/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"';
|
||
|
|
||
|
access_log /www/log/nginx/host.access.log main;
|
||
|
|
||
|
sendfile on;
|
||
|
#tcp_nopush on;
|
||
|
|
||
|
keepalive_timeout 65;
|
||
|
resolver 8.8.8.8;
|
||
|
server_names_hash_bucket_size 128;
|
||
|
client_header_buffer_size 32k;
|
||
|
large_client_header_buffers 4 32k;
|
||
|
client_max_body_size 1024m;
|
||
|
client_body_buffer_size 10m;
|
||
|
|
||
|
fastcgi_connect_timeout 3600;
|
||
|
fastcgi_send_timeout 3600;
|
||
|
fastcgi_read_timeout 3600;
|
||
|
|
||
|
#gzip on;
|
||
|
|
||
|
include /etc/nginx/conf.d/*.conf;
|
||
|
include /etc/nginx/conf.d/*/*.conf;
|
||
|
}
|