nginx config: Enable some popular performance-improving features.

(imported from commit 50193d071d091cc864867c9f7d5c9c9fb74b9d92)
This commit is contained in:
Tim Abbott
2013-12-05 16:16:54 -05:00
parent 6663247e22
commit a337638f7f

View File

@@ -6,6 +6,10 @@ pid /var/run/nginx.pid;
worker_rlimit_nofile 40000;
events {
worker_connections 40000;
use epoll;
multi_accept on;
}
http {
@@ -22,6 +26,8 @@ http {
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
reset_timedout_connection on;
gzip on;
gzip_disable "msie6";