From e8f85daaa6511f7e3583e76ca3ad65379f74b2fc Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 27 Mar 2022 12:53:46 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5d7c08d..a5f3122 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,7 +1,7 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { proxy_pass http://localhost:__PORT__/; - add_header X-Frame-Options SAMEORIGIN; + more_set_headers "X-Frame-Options: SAMEORIGIN"; proxy_set_header Host $host; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;