From 6f47432e8bca8e869b0ce1d148c74f38b3e19b01 Mon Sep 17 00:00:00 2001 From: Melchisedech Date: Fri, 4 Nov 2022 01:47:54 +0100 Subject: [PATCH] Change add_header to more_set_headers --- conf/nginx.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"; }