“Born反代机nginx配置”的版本间的差异
来自Alex's wiki
(创建页面,内容为“ <nowiki> user nginx; worker_processes 6; error_log /alidata/log/nginx/error.log; #error_log /alidata/log/nginx/error.log notice; #error_log /alid...”) |
(没有差异)
|
2016年10月18日 (二) 02:28的最后版本
user nginx; worker_processes 6; error_log /alidata/log/nginx/error.log; #error_log /alidata/log/nginx/error.log notice; #error_log /alidata/log/nginx/error.log info; pid /var/run/nginx.pid; events { worker_connections 10240; } http { upstream www.52jiaoshi.com { # server 123.56.154.254:8089; server 123.57.57.241:8089; server 123.56.77.165:8089; server 123.56.238.65:8089; server 123.56.47.69:8089; server 123.57.143.153:8089; ip_hash; } include /etc/nginx/mime.types; # default_type application/octet-stream; default_type text/html; charset UTF-8; 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 /alidata/log/nginx/access.log main; access_log off; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; client_max_body_size 64M; #gzip on; # Load config files from the /etc/nginx/conf.d directory # The default server is in conf.d/default.conf include /etc/nginx/conf.d/*.conf; }