【发布时间】:2023-01-07 03:05:16
【问题描述】:
Artifactory 应用程序有一个响应标头“x-xss-protection:1;-mode=block”
我们目前需要将标头更改为“x-xss-protection:0”
谁能建议如何实现这个?我需要根据我们的安全说明更改此设置。
【问题讨论】:
标签: https xss artifactory
Artifactory 应用程序有一个响应标头“x-xss-protection:1;-mode=block”
我们目前需要将标头更改为“x-xss-protection:0”
谁能建议如何实现这个?我需要根据我们的安全说明更改此设置。
【问题讨论】:
标签: https xss artifactory
如果你有 Nginx 作为反向代理,你可以尝试在配置文件 /etc/nginx/site_enabled/artifactory.conf 中添加标头 <<add_header "X-XSS-Protection" "0; mode=block";>>
使用 nginx 网络服务器说明
https://www.jfrog.com/confluence/display/JFROG/Configuring+NGINX
【讨论】: