Closed aurelg closed 11 months ago
My bad, the very simple snippet below works well:
reverse_proxy 127.0.0.1:5000 {
header_up X-Scheme {scheme}
}
@bugy Would it be worth adding to the wiki?
Hi @aurelg yes, I will add it to wiki, thank you!
Could you share your final configuration, please?
Sure ! The final configuration to have script-server
reverse-proxied to serve https://example.com
is:
example.com {
reverse_proxy 127.0.0.1:5000 {
header_up X-Scheme {scheme}
}
}
No need for more, caddy's configuration is extremely concise.
Wow, that's really small. I added it to wiki, thanks!
Hi @bugy, and thank you for this projet, it's just so useful! :pray:
I'm trying to deploy a
script-server
behind a caddy v2 reverse proxy. I had a look at the wiki, which describes the configurations fornginx
andapache
, but I failed to translate into aCaddyfile
(reverse_proxy
documentation).Here's the configuration I have:
The login page works, but my browser consoles complain they cannot connect to
wss://...
, and I have the following error message in red:PS: I noticed #406 which in the end seemed to work with a much simpler configuration, but it actually did not.