From 174c8658d0a88f7a929615818fd2e45742c2bacd Mon Sep 17 00:00:00 2001 From: anmol26s Date: Sun, 15 Jul 2018 16:29:10 +0530 Subject: [PATCH] Hide x-frame header --- conf/nginx.conf | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5377f69..e2ac7bd 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,3 +1,4 @@ + proxy_hide_header X-Frame-Options; location ~ ^/client/(.*\.(js|css|woff2|otf|ttf|woff|eot))$ { add_header Cache-Control "public, max-age=31536000, immutable"; @@ -53,11 +54,6 @@ alias /home/yunohost.app/__NAME__/storage/videos; } - - # Allow embeds - location /videos/embed { - proxy_hide_header X-Frame-Options; - } # Websocket tracker location /tracker/socket {