aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authoranmol26s <5068843+anmol26s@users.noreply.github.com>2019-01-05 19:53:52 +0530
committerGitHub <noreply@github.com>2019-01-05 19:53:52 +0530
commit8ca1f77c24a83c9a0deb12404e02d37984d5173b (patch)
tree42782f80f8613e73399c18aba94805f852af2ab5 /conf
parent4941a424f10ed149db43d70f4846af3776737b38 (diff)
parent10ec0ffa7302c7359053eee2803b2cb50a06d3e2 (diff)
downloadmastodon_ynh-8ca1f77c24a83c9a0deb12404e02d37984d5173b.tar.gz
mastodon_ynh-8ca1f77c24a83c9a0deb12404e02d37984d5173b.tar.bz2
mastodon_ynh-8ca1f77c24a83c9a0deb12404e02d37984d5173b.zip
Merge pull request #124 from YunoHost-Apps/frju365-patch-1
Remove USELESS CSP Rules see issue #118
Diffstat (limited to '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 156d56d..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;