From afd7b991f3b9d441d869a9a4d0e58c6d48c6ae7f Mon Sep 17 00:00:00 2001 From: MaxMEllon Date: Fri, 3 Dec 2021 12:21:48 +0900 Subject: [PATCH] update nginx config --- nginx/nginx.conf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 08b8901..7df1be0 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -46,16 +46,16 @@ http { proxy_hide_header X-Powered-By; location / { - proxy_cache app; - proxy_cache_valid 120m; + proxy_cache app; + proxy_cache_valid 120m; - add_header Feature-Policy "sync-xhr 'none'"; - add_header X-Frame-Options "SAMEORIGIN"; - add_header X-XSS-Protection "1; mode=block"; - add_header X-Content-Type-Options "nosniff"; - add_header Strict-Transport-Security "max-age=31536000"; + add_header Permissions-Policy "sync-xhr 'none'"; + add_header X-Frame-Options "SAMEORIGIN"; + add_header X-XSS-Protection "1; mode=block"; + add_header X-Content-Type-Options "nosniff"; + add_header Strict-Transport-Security "max-age=31536000"; - proxy_pass http://app; + proxy_pass http://app; } }