Fix Dozzle WebSocket connectivity for API access
Added WebSocket support configuration to both oauth2-proxy and Traefik ingress: - Enable explicit WebSocket proxying in oauth2-proxy (--proxy-websockets=true) - Pass Host header through oauth2-proxy (--pass-host-header=true) - Add WebSocket upgrade headers to Traefik ingress annotations This fixes the "UI cannot connect to API" error by ensuring real-time log streaming WebSocket connections work through the authentication proxy. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
3b80ed550c
commit
9ae3973d9b
1 changed files with 2 additions and 0 deletions
|
|
@ -69,6 +69,8 @@ spec:
|
||||||
- --cookie-name=__Host-oauth2-proxy
|
- --cookie-name=__Host-oauth2-proxy
|
||||||
- --cookie-expire=12h
|
- --cookie-expire=12h
|
||||||
- --code-challenge-method=S256
|
- --code-challenge-method=S256
|
||||||
|
- --proxy-websockets=true
|
||||||
|
- --pass-host-header=true
|
||||||
env:
|
env:
|
||||||
- name: OAUTH2_PROXY_CLIENT_ID
|
- name: OAUTH2_PROXY_CLIENT_ID
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue