diff --git a/nginx.conf b/nginx.conf index 85a8f7f..aab29b9 100644 --- a/nginx.conf +++ b/nginx.conf @@ -46,10 +46,16 @@ http { more_set_headers "Content-Security-Policy: object-src 'none'; frame-ancestors 'self'; form-action 'self'; block-all-mixed-content; sandbox allow-forms allow-same-origin allow-scripts allow-popups allow-downloads; base-uri 'self';"; # enable response compression - gzip on; + gzip on; + + # https://github.com/google/ngx_brotli#configuration-directives brotli on; brotli_static on; + # https://github.com/tokers/zstd-nginx-module#directives + zstd on; + zstd_static on; + include /etc/nginx/conf.d/*.conf; }