SHOW:
|
|
- or go back to the newest paste.
1 | user nginx; | |
2 | worker_processes 1; | |
3 | ||
4 | error_log /var/log/nginx/error.log warn; | |
5 | pid /var/run/nginx.pid; | |
6 | ||
7 | events { | |
8 | worker_connections 1024; | |
9 | } | |
10 | ||
11 | ||
12 | http { | |
13 | include /etc/nginx/mime.types; | |
14 | default_type application/octet-stream; | |
15 | ||
16 | log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
17 | '$status $body_bytes_sent "$http_referer" ' | |
18 | '"$http_user_agent" "$http_x_forwarded_for"'; | |
19 | ||
20 | access_log /var/log/nginx/access.log main; | |
21 | ||
22 | sendfile on; | |
23 | #tcp_nopush on; | |
24 | ||
25 | keepalive_timeout 65; | |
26 | ||
27 | #gzip on; | |
28 | ||
29 | include /etc/nginx/conf.d/*.conf; | |
30 | } |