1
0
Fork 0
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:
Jules-Bertholet 2021-03-06 11:02:18 -05:00 committed by GitHub
parent 16bdda72d2
commit ef4af0608b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,4 +39,5 @@ location __PATH__/embed/ {
proxy_set_header Connection "upgrade";
more_set_headers "X-Frame-Options : ALLOWALL";
more_set_headers "Content-Security-Policy : upgrade-insecure-requests ; frame-ancestors * ";
}