diff --git a/conf/nginx.conf b/conf/nginx.conf index 6f7aa67..d964231 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -27,6 +27,5 @@ location __PATH__/ { include conf.d/yunohost_panel.conf.inc; # Needed part because the app uses SharedArrayBuffer - add_header 'Cross-Origin-Embedder-Policy' 'require-corp'; - add_header 'Cross-Origin-Opener-Policy' 'same-origin'; + more_set_headers "Cross-Origin-Embedder-Policy: require-corp" "Cross-Origin-Opener-Policy: same-origin"; }