aboutsummaryrefslogtreecommitdiff
path: root/conf/nginx.conf
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2018-09-03 01:02:28 +0200
committerGitHub <noreply@github.com>2018-09-03 01:02:28 +0200
commite5d9f9cece396f8c82326bf3b458ac4442535db1 (patch)
treedd1bf25bc567e87c03cd9826536ab21f11fdbe67 /conf/nginx.conf
parenta8cd8031cd6cc85125ff7fafc10443c975cf209c (diff)
downloadmastodon_ynh-e5d9f9cece396f8c82326bf3b458ac4442535db1.tar.gz
mastodon_ynh-e5d9f9cece396f8c82326bf3b458ac4442535db1.tar.bz2
mastodon_ynh-e5d9f9cece396f8c82326bf3b458ac4442535db1.zip
Revert "Nginx : CSP + typo" (#113)
Diffstat (limited to 'conf/nginx.conf')
-rw-r--r--conf/nginx.conf3
1 files changed, 0 insertions, 3 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf
index 87b517a..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'; 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
root __FINALPATH__/live/public;