From ba1dc5982b44b2e8e6f107b83c20d5db8a900e07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 21 Dec 2023 13:53:03 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; }