From 5cc0031f57e471e0070f30f7333c1fb413f76289 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 17 May 2021 22:46:37 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index f9fc1d7..08b68fa 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,7 +9,7 @@ location __PATH__/ { rewrite ^ https://$server_name$request_uri? permanent; } - more_set_headers "Referrer-Policy; origin always"; + more_set_headers "Referrer-Policy: origin always"; more_set_headers "X-Content-Type-Options: nosniff"; more_set_headers "X-XSS-Protection: 1; mode=block"; @@ -42,7 +42,7 @@ location __PATH__/ { location ~ js/container_.*_preview\.js$ { expires off; - more_set_headers "Cache-Control: private, no-cache, no-store"'"; + more_set_headers "Cache-Control: private, no-cache, no-store"; } location ~ \.(gif|ico|jpg|png|svg|js|css|htm|html|mp3|mp4|wav|ogg|avi|ttf|eot|woff|woff2|json)$ {