From 402b16c748adf59558f8ccdf016fb2ee2fdb6a6c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 14 Jan 2021 19:53:50 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index a317a0c..867b484 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -13,8 +13,6 @@ location __PATH__/ { proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; - more_set_headers "X-Frame-Options : ALLOWALL"; - proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; @@ -22,3 +20,7 @@ location __PATH__/ { # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } + +location __PATH__/embed/ { + more_set_headers "X-Frame-Options : ALLOWALL"; +}