Created
January 27, 2016 09:08
-
-
Save sekmet/faee0fcaef484eef863f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user www-data www-data; | |
pid /var/run/nginx.pid; | |
worker_processes 1; | |
worker_rlimit_nofile 100000; | |
events { | |
worker_connections 4096; | |
include /etc/nginx.custom.events.d/*.conf; | |
} | |
http { | |
default_type application/octet-stream; | |
access_log off; | |
error_log /var/log/nginx/error.log crit; | |
sendfile on; | |
tcp_nopush on; | |
keepalive_timeout 20; | |
client_header_timeout 20; | |
client_body_timeout 20; | |
reset_timedout_connection on; | |
send_timeout 20; | |
types_hash_max_size 2048; | |
gzip on; | |
gzip_disable "msie6"; | |
gzip_proxied any; | |
gzip_min_length 256; | |
gzip_comp_level 4; | |
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js; | |
server_names_hash_bucket_size 128; | |
include mime.conf; | |
charset UTF-8; | |
open_file_cache max=100000 inactive=20s; | |
open_file_cache_valid 30s; | |
open_file_cache_min_uses 2; | |
open_file_cache_errors on; | |
server_tokens off; | |
include proxy.conf; | |
include fcgi.conf; | |
include conf.d/*.conf; | |
include /etc/nginx.custom.d/*.conf; | |
} | |
include /etc/nginx.custom.global.d/*.conf; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment