【问题标题】:Artifactory Security Header ImplementationArtifactory 安全标头实现
【发布时间】:2023-01-07 03:05:16
【问题描述】:

Artifactory 应用程序有一个响应标头“x-xss-protection:1;-mode=block”

我们目前需要将标头更改为“x-xss-protection:0”

谁能建议如何实现这个?我需要根据我们的安全说明更改此设置。

【问题讨论】:

    标签: https xss artifactory


    【解决方案1】:

    如果你有 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

    【讨论】:

      猜你喜欢
      • 2011-03-10
      • 2015-11-05
      • 2020-02-24
      • 2021-05-19
      • 1970-01-01
      • 2014-02-11
      • 2016-03-24
      • 2016-04-19
      • 1970-01-01
      相关资源
      最近更新 更多