mirror of
https://github.com/YunoHost-Apps/funkwhale_ynh.git
synced 2024-09-03 18:36:24 +02:00
Reset NGINX headers
This commit is contained in:
parent
9ce50f0930
commit
fafdf91ba8
1 changed files with 2 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
|||
|
||||
location / {
|
||||
include __FINALPATH__/code/deploy/funkwhale_proxy.conf;
|
||||
# this is needed if you have file import via upload enabled
|
||||
|
@ -16,14 +17,8 @@ location /front/ {
|
|||
}
|
||||
|
||||
location /front/embed.html {
|
||||
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:; object-src 'none'; media-src 'self' data:";
|
||||
add_header Referrer-Policy "strict-origin-when-cross-origin";
|
||||
add_header X-Frame-Options "ALLOW";
|
||||
more_set_headers X-Frame-Options "ALLOW";
|
||||
alias __FINALPATH__/code/front/dist/embed.html;
|
||||
expires 30d;
|
||||
add_header Pragma public;
|
||||
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
|
||||
|
||||
}
|
||||
|
||||
location /federation/ {
|
||||
|
|
Loading…
Reference in a new issue