1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Merge pull request #124 from YunoHost-Apps/frju365-patch-1

Remove USELESS CSP Rules see issue #118
This commit is contained in:
anmol26s 2019-01-05 19:53:52 +05:30 committed by GitHub
commit 8ca1f77c24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,6 @@
# upload max size # upload max size
client_max_body_size 100M; client_max_body_size 100M;
# Content Security Policy : security to avoid launching unsecure script
add_header Content-Security-Policy "default-src 'none'; font-src 'self'; media-src 'self'; object-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self'; img-src 'self' blob: data:; connect-src 'self' wss://__DOMAIN__;";
# add to v1.4 assets # add to v1.4 assets
root __FINALPATH__/live/public; root __FINALPATH__/live/public;