Hide x-frame header
This commit is contained in:
parent
23de5da82f
commit
174c8658d0
|
@ -1,3 +1,4 @@
|
||||||
|
proxy_hide_header X-Frame-Options;
|
||||||
location ~ ^/client/(.*\.(js|css|woff2|otf|ttf|woff|eot))$ {
|
location ~ ^/client/(.*\.(js|css|woff2|otf|ttf|woff|eot))$ {
|
||||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||||
|
|
||||||
|
@ -53,11 +54,6 @@
|
||||||
|
|
||||||
alias /home/yunohost.app/__NAME__/storage/videos;
|
alias /home/yunohost.app/__NAME__/storage/videos;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Allow embeds
|
|
||||||
location /videos/embed {
|
|
||||||
proxy_hide_header X-Frame-Options;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Websocket tracker
|
# Websocket tracker
|
||||||
location /tracker/socket {
|
location /tracker/socket {
|
||||||
|
|
Loading…
Reference in a new issue