nginx 的 add_header 在 location 有自己的 add_header 时不继承 server 块, portal 的 location / 和 location = /index.html 都有 Cache-Control, 需在两处重复加安全头:X-Frame-Options/X-Content-Type-Options/ Referrer-Policy/X-XSS-Protection/Permissions-Policy