Closed valankar closed 2 months ago
I saw in the code this should actually be sablierURL
. I made that change and Caddy was able to start properly. Unfortunately I just couldn't get it working with my container. I saw the waiting screen, then redirected to blank page. Interestingly in my access.log it sets the status code to 0 (instead of http codes 200, etc). It also brought down my container, but never brought it back up. I can't really tell from your documentation how to debug this.
Hello @valankar,
Can you please give more details on the whole configuration ?
For exemple, make sure that the caddy container itself is not part of the group, otherwise it will be stopping the reverse proxy itself.
All E2E tests are working examples of the caddy reverse proxy, see https://github.com/acouvreur/sablier/tree/main/plugins/caddy/e2e/docker
I see that you are targeting sablier with localhost:1000 from the Caddy middleware. Do you have Caddy on network host and sablier exposing port 10000 to the host ?
Yes I run Caddy with host networking and services listen on localhost, including sablier. I see there is logging.level=trace which might help me narrow it down. I will try again looking at the e2e example.
Ok, I figured out that there is a problem only when using SSL. I'll double check with a released version instead of head and file a bug if I can reproduce.
Describe the bug Error using Caddy with provided config.
My compose file:
My Dockerfile:
Context
Expected behavior I think I'm specifying the config right, but maybe I'm missing something?