Nginx Optimization Tips?
I've enabled gzip compression, is there anything else I can do?
My sites are predominantly WordPress-based.
2 Replies
server_tokens off;
worker_processes 2; # try -> grep -c processor /proc/cpuinfo
worker_connections 1024;
keepalive_timeout 10;
send_timeout 12;
sendfile on;
tcp_nodelay on;
gzip on;
gzip_min_length 640;
gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript;
Also you may want to take a look at: http://ubuntuforums.org/showthread.php?p=6953724