<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [TOC] # 漏洞詳情 ![](https://img.kancloud.cn/8b/a9/8ba9e8e950df74a706d65cbf11e839f2_1157x301.png) # 漏洞處理方案 掃描工具給出的漏洞處理的方案 ![](https://img.kancloud.cn/be/c7/bec7e8a399c2fcd3ccd0af98ddec3477_1123x296.png) ingress-nginx處理方案 >[danger] 注意:proxy_set_header是nginx設置請求頭給上游服務器,add_header是nginx設置響應頭信息給瀏覽器。 ```shell # 備份ingress-nginx配置文件 kubectl get configmap/nginx-configuration-nginx-ingress-controller -n kube-system -oyaml > nginx-configuration.yaml # 添加add-headers參數,如果已經存在則不需要指定。 kubectl patch configmap/nginx-configuration-nginx-ingress-controller -n kube-system --type merge -p '{"data":{ "add-headers": "kube-system/custom-add-headers"}}' # 創建add-headers的configmap配置 cat << EOF | kubectl apply -f - apiVersion: v1 data: Content-Security-Policy: "default-src 'self'" X-Content-Type-Options: "nosniff" X-XSS-Protection: "1; mode=block" Set-Cookie: "HttpOnly" Set-Cookie: "Secure" kind: ConfigMap metadata: name: custom-add-headers namespace: kube-system EOF ``` # 參考文檔 ingress-nginx文檔:https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/#add-headers
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看