1234567891011121314151617181920212223242526272829303132333435363738 |
- user {{ nginx_user }};
- error_log /var/log/nginx/error.log warn;
- pid /var/run/nginx.pid;
- worker_processes {{ nginx_worker_processes }};
- events {
- worker_connections {{ nginx_worker_connections }};
- }
- http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
- server_names_hash_bucket_size 64;
- client_max_body_size {{ nginx_client_max_body_size }};
- 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 /var/log/nginx/access.log main buffer=16k;
- sendfile on;
- #tcp_nopush on;
- keepalive_timeout {{ nginx_keepalive_timeout }};
- #gzip on;
- {% if nginx_proxy_cache_path %}
- proxy_cache_path {{ nginx_proxy_cache_path }};
- {% endif %}
- include /etc/nginx/conf.d/*.conf;
- }
|