diff --git a/conf/nginx.conf b/conf/nginx.conf index 6675b12..c272291 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -130,9 +130,9 @@ location ~ ^/api/.*$ { # These settings prevent both NGINX and the API server # from setting the same headers and creating duplicates - proxy_hide_header Cross-Origin-Resource-Policy; + proxy_hide_header "Cross-Origin-Resource-Policy"; more_set_headers "Cross-Origin-Resource-Policy: cross-origin"; - proxy_hide_header Cross-Origin-Embedder-Policy; + proxy_hide_header "Cross-Origin-Embedder-Policy"; more_set_headers "Cross-Origin-Embedder-Policy: require-corp"; }