Caddy as reverse proxy #139

Closed
opened 2026-02-04 17:28:47 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @ykktrcb7 on GitHub (Oct 30, 2021).

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.

Originally created by @ykktrcb7 on GitHub (Oct 30, 2021). 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.
Author
Owner

@kabukimandelux commented on GitHub (Nov 10, 2021):

Cannot help directly as I'm using Nginx reverse proxy manager. Had to activate web socket and it worked, might help you

@kabukimandelux commented on GitHub (Nov 10, 2021): Cannot help directly as I'm using Nginx reverse proxy manager. Had to activate web socket and it worked, might help you
Author
Owner

@xsteadfastx commented on GitHub (Nov 12, 2021):

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.

@xsteadfastx commented on GitHub (Nov 12, 2021): 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.
Author
Owner

@arvigeus commented on GitHub (Nov 18, 2021):

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.

@arvigeus commented on GitHub (Nov 18, 2021): I didn't had any problems with it, check my [repo](https://github.com/arvigeus/arvigeus.one) - [caddy](https://github.com/arvigeus/arvigeus.one/blob/master/config/caddy/Caddyfile), [docker.compose.yml](https://github.com/arvigeus/arvigeus.one/blob/master/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.
Author
Owner

@REVENTOR-EU commented on GitHub (Jan 17, 2022):

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.

@REVENTOR-EU commented on GitHub (Jan 17, 2022): > 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.
Author
Owner

@MatejLach commented on GitHub (Mar 10, 2024):

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
}
@MatejLach commented on GitHub (Mar 10, 2024): 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 } ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#139