From 97e1cef3deda450ea671f356120417f9674ee17b Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Tue, 1 Dec 2020 16:27:44 +1100 Subject: [PATCH] stuffed up the snippet --- nginx_snippets/sv2_massive.org.au.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx_snippets/sv2_massive.org.au.conf b/nginx_snippets/sv2_massive.org.au.conf index db79cb8..2870252 100644 --- a/nginx_snippets/sv2_massive.org.au.conf +++ b/nginx_snippets/sv2_massive.org.au.conf @@ -1,8 +1,8 @@ location ~ /.* { - root /opt/strudel2/spa/sv2/; + root /opt/strudel2/spa/sv2_massive.org.au/; #alias /var/www/sv2/dist/sv2/; try_files $uri$args $uri$args/ $uri/ /index.html; - add_header Content-Security-Policy "default-src 'self' *.cloud.cvl.org.au; style-src 'self' fonts.googleapis.com 'unsafe-inline'; font-src 'self' fonts.gstatic.com"; + add_header Content-Security-Policy "default-src 'self' *.cloud.cvl.org.au *.desktop.massive.org.au; style-src 'self' fonts.googleapis.com 'unsafe-inline'; font-src 'self' fonts.gstatic.com"; add_header Strict-Transport-Security "max-age=15768000; includeSubDomains" always; add_header X-Frame-Options "SAMEORIGIN"; add_header X-XSS-Protection "1; mode=block"; -- GitLab