diff --git a/conf/nginx.conf b/conf/nginx.conf index c34a6a9..574df61 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -44,8 +44,8 @@ location ~ "/(front/)?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 Referrer-Policy "strict-origin-when-cross-origin"; + 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"; expires 1d; }