mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Useless CSP see https://github.com/tootsuite/mastodon/releases/tag/v2.6.0
This commit is contained in:
parent
71d274fbb0
commit
10ec0ffa73
1 changed files with 0 additions and 3 deletions
|
@ -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' *.__DOMAIN__; object-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' *.__DOMAIN__; img-src 'self' blob: data:; connect-src 'self' wss://__DOMAIN__ *.__DOMAIN__;";
|
|
||||||
|
|
||||||
# add to v1.4 assets
|
# add to v1.4 assets
|
||||||
root __FINALPATH__/live/public;
|
root __FINALPATH__/live/public;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue