Open ykktrcb7 opened 3 years ago
Cannot help directly as I'm using Nginx reverse proxy manager. Had to activate web socket and it worked, might help you
im using caddy here. and this here works for me
planka.foo.tld {
reverse_proxy planka:1337
}
planka is just the container name in the same docker network. nothing else to do for me.
I didn't had any problems with it, check my repo - caddy, docker.compose.yml. The only unorthodox thing I am doing is to use a single database across multiple containers. Ignore the tls
option in my Caddyfile, it's for my cloud provider.
Cannot help directly as I'm using Nginx reverse proxy manager. Had to activate web socket and it worked, might help you
how did you set up everything? activating websocket still gives me an endless loading circle. console still tells me websocket connection failed.
Old issue but in case it's useful, this works for me:
http://planka:port {
reverse_proxy :3000 {
header_up X-Real-IP {remote_host}
}
@websockets {
header Connection *Upgrade*
header Upgrade websocket
}
reverse_proxy @websockets localhost:3000
}
Works fine with IP address, but with reverse proxy get infinite loading screen.
Similar to other Traefik issues mentioned here, but cannot get it to work with Caddy server as reverse proxy.