diff --git a/static/conf/nginx.conf b/static/conf/nginx.conf index f5eafbe..c00ff3d 100644 --- a/static/conf/nginx.conf +++ b/static/conf/nginx.conf @@ -27,6 +27,8 @@ http { server_name localhost; proxy_cache owl_cache; + add_header Content-Security-Policy "default-src 'self'"; + location / { root /site-static/; index index.html; @@ -42,8 +44,6 @@ http { proxy_cache_key $scheme://$host$uri$is_args$query_string; proxy_ignore_headers Cache-Control; proxy_cache_valid 200 2m; # Evaluate whether 2m or 1m is more appropriate - gzip on; - brotli on; expires 2m; add_header Cache-Control "private, no-transform"; }