Hide x-frame header

This commit is contained in:
anmol26s 2018-07-15 16:29:10 +05:30
parent 23de5da82f
commit 174c8658d0

View file

@ -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 {