mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
nginx config: Enable some popular performance-improving features.
(imported from commit 50193d071d091cc864867c9f7d5c9c9fb74b9d92)
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user