fix(comfyui): drop the snippet that made nginx reject the whole ingress
The controller logs "annotation group ConfigurationSnippet contains risky annotation" and a rejected annotation group drops the entire ingress from nginx.conf. comfyui.riotpiao.com therefore answered 404 for every request with no line in the access log, which is why the host looked routed but served nothing. ingress-nginx sets the Upgrade and Connection headers itself for a websocket upgrade, so the snippet was never needed.
This commit was merged in pull request #82.
This commit is contained in:
@@ -18,9 +18,11 @@ metadata:
|
|||||||
nginx.ingress.kubernetes.io/auth-url: "http://comfyui-oauth2-proxy.comfyui.svc.cluster.local:4180/oauth2/auth"
|
nginx.ingress.kubernetes.io/auth-url: "http://comfyui-oauth2-proxy.comfyui.svc.cluster.local:4180/oauth2/auth"
|
||||||
nginx.ingress.kubernetes.io/auth-signin: "https://comfyui.riotpiao.com/oauth2/start?rd=$scheme://$host$request_uri"
|
nginx.ingress.kubernetes.io/auth-signin: "https://comfyui.riotpiao.com/oauth2/start?rd=$scheme://$host$request_uri"
|
||||||
nginx.ingress.kubernetes.io/auth-response-headers: "x-auth-request-user,x-auth-request-email"
|
nginx.ingress.kubernetes.io/auth-response-headers: "x-auth-request-user,x-auth-request-email"
|
||||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
# No configuration-snippet. The controller rejects that annotation as risky
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
# ("annotation group ConfigurationSnippet contains risky annotation"), and a
|
||||||
proxy_set_header Connection "upgrade";
|
# rejected annotation drops the WHOLE ingress from nginx.conf: the host then
|
||||||
|
# answers 404 with no entry in the access log. ingress-nginx sets the Upgrade
|
||||||
|
# and Connection headers itself for a websocket upgrade.
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
|
|||||||
Reference in New Issue
Block a user