diff --git a/support/nginx.conf b/support/nginx.conf index f700daff..a3e287f3 100644 --- a/support/nginx.conf +++ b/support/nginx.conf @@ -18,6 +18,16 @@ server { add_header Strict-Transport-Security "max-age=31536000;"; add_header Content-Security-Policy-Report-Only "default-src https:; script-src https: 'unsafe-eval' 'unsafe-inline'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:"; + gzip on; + gzip_disable "msie6"; + gzip_vary on; + gzip_proxied any; + gzip_comp_level 6; + gzip_buffers 16 8k; + gzip_http_version 1.1; + gzip_static on; + gzip_types text/plain text/css application/json application/x-javascript application/javascript text/xml application/xml application/xml+rss text/javascript; + client_header_timeout 360s; location / { include uwsgi_params;