Fixed issue with service worker scope

This commit is contained in:
Eliot Berriot 2020-01-09 15:23:37 +01:00
commit ef6219e8c4
No known key found for this signature in database
GPG key ID: 6B501DFD73514E14
5 changed files with 19 additions and 2 deletions

View file

@ -76,6 +76,7 @@ http {
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 "SAMEORIGIN";
add_header Service-Worker-Allowed "/";
# uncomment the following line and comment the proxy-pass one
# to use the frontend build with "yarn build"
#alias /frontend/dist/;