【问题标题】:How to configure ssl_prefer_server_ciphers in NGINX Ingress Controller?如何在 NGINX 入口控制器中配置 ssl_prefer_server_ciphers?
【发布时间】:2020-03-01 11:50:42
【问题描述】:

我需要在 NGINX 入口控制器中将 ssl_prefer_server_ciphers 设置为 on

不幸的是,我无法在其配置中找到如何操作 https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/

NGINX Ingress Controller 中ssl_prefer_server_ciphers 的默认值是多少?

(NGINX 中默认为off

在 NGINX 入口控制器中将值设置为 on 很热门?

【问题讨论】:

    标签: nginx kubernetes-ingress nginx-ingress


    【解决方案1】:

    根据https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/configmap/

    In order to overwrite nginx-controller configuration values as seen in config.go, you can add key-value pairs to the data section of the config-map.
    

    因此,配置为

    data:
      ssl_prefer_server_ciphers: "on"
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-01-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-09-27
      • 2018-09-17
      相关资源
      最近更新 更多