docker – Blame information for rev 62
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
62 | office | 1 | pid /var/run/nginx/nginx.pid; |
2 | worker_processes auto; |
||
3 | worker_rlimit_nofile 8192; |
||
4 | error_log /proc/self/fd/2 info; |
||
5 | |||
6 | load_module "modules/ngx_http_dav_ext_module.so"; |
||
7 | load_module "modules/ngx_http_geoip2_module.so"; |
||
8 | |||
9 | events { |
||
10 | worker_connections 2048; |
||
11 | use epoll; |
||
12 | multi_accept on; |
||
13 | } |
||
14 | |||
15 | http { |
||
16 | include mime.types; |
||
17 | default_type application/octet-stream; |
||
18 | |||
19 | aio threads; |
||
20 | sendfile on; |
||
21 | |||
22 | ## Keepalive |
||
23 | keepalive_timeout 15; |
||
24 | keepalive_disable msie6; |
||
25 | keepalive_requests 100; |
||
26 | |||
27 | ## TCP options |
||
28 | tcp_nopush on; |
||
29 | tcp_nodelay on; |
||
30 | |||
31 | ## Temp folders |
||
32 | client_body_temp_path /tmp/nginx 1 2; |
||
33 | proxy_temp_path /tmp/nginx-proxy; |
||
34 | fastcgi_temp_path /tmp/nginx-fastcgi; |
||
35 | uwsgi_temp_path /tmp/nginx-uwsgi; |
||
36 | scgi_temp_path /tmp/nginx-scgi; |
||
37 | |||
38 | ## Handling of IPs in proxied and load balancing situations |
||
39 | set_real_ip_from @REAL_IP_FROM@; |
||
40 | real_ip_header @REAL_IP_HEADER@; |
||
41 | |||
42 | # Log |
||
43 | log_format main '$@LOG_IP_VAR@ - $remote_user [$time_local] ' |
||
44 | '"$request" $status $body_bytes_sent ' |
||
45 | '"$http_referer" "$http_user_agent"'; |
||
46 | access_log /proc/self/fd/1 main; |
||
47 | |||
48 | ## Hide the Nginx version number |
||
49 | server_tokens off; |
||
50 | |||
51 | ## Delay basic auth prompt |
||
52 | auth_delay @AUTH_DELAY@; |
||
53 | |||
54 | include /etc/nginx/conf.d/*.conf; |
||
55 | } |