From 91ddc5f6f22530c1ea274a964975747153801787 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Mon, 3 Sep 2018 16:22:31 +0530 Subject: Updated to version 2.5.0 --- conf/nginx.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf/nginx.conf') diff --git a/conf/nginx.conf b/conf/nginx.conf index a183a31..156d56d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,6 +1,9 @@ # 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; -- cgit v1.2.3-70-g09d2