diff --git a/deploy/nginx/nginx.conf b/deploy/nginx/nginx.conf index 0fc0993dbe80ea34d06724e1885c18f72ad8d1e1..8c8b42c83638fc9b32b75469b94117d40363c1e4 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;