diff --git a/conf/nginx.conf b/conf/nginx.conf index d5ac03c..8120fe3 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -51,4 +51,7 @@ location ~ ^/(media|proxy) { more_set_headers "Content-Security-Policy : script-src 'none'; default-src 'none'; upgrade-insecure-requests; base-uri 'none'; form-action 'none'; 'sandbox';"; proxy_pass http://localhost:__PORT__; +======= +location ~ ^/(proxy|media) { + more_set_headers "Content-Security-Policy : default-src 'none'; upgrade-insecure-requests; sandbox;"; }