diff options
| author | frju365 <win10@tutanota.com> | 2018-12-29 01:26:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-29 01:26:32 +0100 |
| commit | 10ec0ffa7302c7359053eee2803b2cb50a06d3e2 (patch) | |
| tree | 06c9724fa8e8046c3f55e8291ac89db0184960f0 /conf/nginx.conf | |
| parent | 71d274fbb09471952704f499254cfe68d4f4a4d5 (diff) | |
| download | mastodon_ynh-10ec0ffa7302c7359053eee2803b2cb50a06d3e2.tar.gz mastodon_ynh-10ec0ffa7302c7359053eee2803b2cb50a06d3e2.tar.bz2 mastodon_ynh-10ec0ffa7302c7359053eee2803b2cb50a06d3e2.zip | |
Useless CSP see https://github.com/tootsuite/mastodon/releases/tag/v2.6.0
Diffstat (limited to 'conf/nginx.conf')
| -rw-r--r-- | conf/nginx.conf | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf index b5cbddd..a183a31 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,9 +1,6 @@ # upload max size 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 root __FINALPATH__/live/public; |
