mirror of
https://github.com/YunoHost-Apps/funkwhale_ynh.git
synced 2024-09-03 18:36:24 +02:00
fix more_set_headers
This commit is contained in:
parent
3af39dfc95
commit
cdc2bc3f87
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@
|
||||||
|
|
||||||
location ~ "/(front/)?embed.html" {
|
location ~ "/(front/)?embed.html" {
|
||||||
alias __INSTALL_DIR__/front/dist/;embed.html;
|
alias __INSTALL_DIR__/front/dist/;embed.html;
|
||||||
more_set_headers Content-Security-Policy "connect-src https: http: 'self'; default-src 'self'; script-src 'self' unpkg.com 'unsafe-inline' 'unsafe-eval'; style-src https: http: 'self' 'unsafe-inline'; img-src https: http: 'self' data:; font-src https: http: 'self' data:; object-src 'none'; media-src https: http: 'self' data:";
|
more_set_headers "Content-Security-Policy: connect-src https: http: 'self'; default-src 'self'; script-src 'self' unpkg.com 'unsafe-inline' 'unsafe-eval'; style-src https: http: 'self' 'unsafe-inline'; img-src https: http: 'self' data:; font-src https: http: 'self' data:; object-src 'none'; media-src https: http: 'self' data:";
|
||||||
more_set_headers Referrer-Policy "strict-origin-when-cross-origin";
|
more_set_headers "Referrer-Policy: strict-origin-when-cross-origin";
|
||||||
|
|
||||||
expires 1d;
|
expires 1d;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue