diff --git a/k8s/apps/comfyui/ingress.yaml b/k8s/apps/comfyui/ingress.yaml index 3e18e9c..49aa6c7 100644 --- a/k8s/apps/comfyui/ingress.yaml +++ b/k8s/apps/comfyui/ingress.yaml @@ -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-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/configuration-snippet: | - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; + # No configuration-snippet. The controller rejects that annotation as risky + # ("annotation group ConfigurationSnippet contains risky annotation"), and a + # 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: ingressClassName: nginx rules: