Add configs for tunning

This commit is contained in:
Thiago Trennepohl 2016-07-06 15:34:07 -03:00
parent 5ce4f5fd5d
commit e1a47c1395

View file

@ -51,7 +51,17 @@ proxy_set_header Connection $proxy_connection;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto;
#Tunning
client_max_body_size 10M;
worker_processes = auto;
worker_rlimit_nofile 100000;
gzip on;
gzip_min_length 10240;
gzip_proxied expired no-cache no-store private auth;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml;
gzip_disable "MSIE [1-6]\.";
{{ end }}
server {