From 0f2b1b858145dd936ca6bb7869a4b9565ba3a33a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=A6=E9=82=A6=E9=82=A6=E9=82=A6?= <15622356989@163.com> Date: Thu, 20 Mar 2025 11:39:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99ngin?= =?UTF-8?q?x=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/nginx/nginx.conf | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/deploy/nginx/nginx.conf b/deploy/nginx/nginx.conf index 0fc0993..8c8b42c 100644 --- a/deploy/nginx/nginx.conf +++ b/deploy/nginx/nginx.conf @@ -60,15 +60,6 @@ http { server_name quick-issue; charset utf-8; - add_header X-XSS-Protection "1; mode=block"; - add_header X-Frame-Options DENY; - add_header X-Content-Type-Options nosniff; - add_header Strict-Transport-Security "max-age=31536000; includeSubDomains"; - add_header Content-Security-Policy "script-src 'self' 'unsafe-inline' 'unsafe-eval'; object-src 'none'; frame-src 'none'; "; - add_header Cache-Control "no-cache,no-store,must-revalidate"; - add_header Pragma no-cache; - add_header Expires 0; - limit_conn limitperip 10; ssl_session_tickets off; ssl_session_timeout 5m; @@ -143,7 +134,6 @@ http { proxy_set_header X-Forwarded-For $http_x_real_ip; proxy_pass https://ipb.osinfra.cn/; - } error_page 401 402 403 405 406 407 413 414 /error.html; -- Gitee