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))$ {
|
||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||
|
||||
|
@ -54,11 +55,6 @@
|
|||
alias /home/yunohost.app/__NAME__/storage/videos;
|
||||
}
|
||||
|
||||
# Allow embeds
|
||||
location /videos/embed {
|
||||
proxy_hide_header X-Frame-Options;
|
||||
}
|
||||
|
||||
# Websocket tracker
|
||||
location /tracker/socket {
|
||||
# Peers send a message to the tracker every 15 minutes
|
||||
|
|
Loading…
Reference in a new issue