【发布时间】:2021-05-31 15:35:14
【问题描述】:
我在入口 yaml 文件中传递授权标头
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header Authorization "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1Ni......"
但出现错误
2021/03/01 09:23:58 [emerg] 947#947:参数太长,可能 /tmp/nginx-cfg445808174:586 中缺少终止“”字符
我也想将请求负载传递给 auth-url 传递授权标头和请求正文的正确方法是什么?
【问题讨论】:
标签: nginx kubernetes kubernetes-ingress nginx-ingress