diff --git a/nginx.conf.sigil b/nginx.conf.sigil index 7168104..3c388c9 100644 --- a/nginx.conf.sigil +++ b/nginx.conf.sigil @@ -1,16 +1,17 @@ +# sigil ver 2.1 dufok 2022-10-11 # Proxy settings -{{ $proxy_settings := "proxy_http_version 1.1; -proxy_set_header Upgrade $http_upgrade; -proxy_set_header Connection $http_connection; -proxy_set_header Host $http_host; +{{ $proxy_settings := "proxy_http_version 1.1; +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection $http_connection; +proxy_set_header Host $http_host; proxy_set_header X-Request-Start $msec;" }} # GZIP settings -{{ $gzip_settings := "gzip on; -gzip_min_length 1100; -gzip_buffers 4 32k; -gzip_types text/css text/javascript text/xml text/plain text/x-component application/javascript application/x-javascript application/json application/xml application/rss+xml font/truetype application/x-font-ttf font/opentype application/vnd.ms-fontobject image/svg+xml; -gzip_vary on; +{{ $gzip_settings := "gzip on; +gzip_min_length 1100; +gzip_buffers 4 32k; +gzip_types text/css text/javascript text/xml text/plain text/x-component application/javascript application/x-javascript application/json application/xml application/rss+xml font/truetype application/x-font-ttf font/opentype application/vnd.ms-fontobject image/svg+xml; +gzip_vary on; gzip_comp_level 6;" }} # CORS headers based on request methods