mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
Fix embeds again
It seems that to get embeds to work consistently the CSP also needs to be modified
This commit is contained in:
parent
16bdda72d2
commit
ef4af0608b
1 changed files with 1 additions and 0 deletions
|
@ -39,4 +39,5 @@ location __PATH__/embed/ {
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
|
||||||
more_set_headers "X-Frame-Options : ALLOWALL";
|
more_set_headers "X-Frame-Options : ALLOWALL";
|
||||||
|
more_set_headers "Content-Security-Policy : upgrade-insecure-requests ; frame-ancestors * ";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue