k8s Ingress socket 配置 upgrade
apiVersion: extensions/v1beta1kind: Ingressmetadata:annotations:nginx.ingress.kubernetes.io/configuration-snippet: |proxy_set_header Upgrade $http_upgrade;proxy_set_header Connection "upgrade";proxy_s
·
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
nginx.ingress.kubernetes.io/service-weight: ''
nginx.ingress.kubernetes.io/upstream-hash-by: $the_real_ip
更多推荐
已为社区贡献1条内容
所有评论(0)