Created
March 7, 2014 08:01
-
-
Save AbhishekGhosh/9407308 to your computer and use it in GitHub Desktop.
Optimize nginx
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
worker_processes 2 | |
worker_connections 1024 | |
server_tokens off; | |
# Timeout Settings | |
client_body_timeout 10; | |
client_header_timeout 10; | |
keepalive_timeout 5 5; | |
send_timeout 10; | |
# Gzip Settings - For improving (SEO) page speed | |
gzip on; | |
gzip_static on; | |
gzip_comp_level 6; | |
gzip_disable "msie6"; | |
gzip_vary on; | |
gzip_types text/plain text/css text/xml text/javascript application/json application/x-javascript application/xml application/xml+rss; | |
gzip_proxied expired no-cache no-store private auth; | |
gzip_buffers 16 8k; | |
gzip_http_version 1.1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is gist is created by Abhishek Ghosh for the blog article Installing WordPress With NGINX on Debian.