Created
August 17, 2013 16:10
-
-
Save saitodev/6257625 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 nginx; | |
worker_processes 1; | |
events { | |
worker_connections 1024; | |
use epoll; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' | |
'$status $body_bytes_sent "$http_referer" ' | |
'"$http_user_agent" "$http_x_forwarded_for"'; | |
sendfile on; | |
#tcp_nopush on; | |
keepalive_timeout 5; | |
gzip on; | |
gzip_http_version 1.1; | |
gzip_vary on; | |
gzip_comp_level 6; | |
gzip_types text/plain text/css text/xml application/x-javascript application/atom+xml application/rss+xml application/xhtml+xml; | |
gzip_disable "MSIE [1-6]\."; | |
gzip_static on; | |
include conf.d/*.conf; | |
include sites-enabled/*.conf; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment