diff --git a/nginx.tmpl b/nginx.tmpl index 9332800..2a12aa7 100644 --- a/nginx.tmpl +++ b/nginx.tmpl @@ -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 {