Reverse proxying doesn't work
-
Reverse proxying via caddy doesn't work. It gives 502
CaddyFile Content As below
# replace :80 with your domain name to get automatic https via LetsEncrypt https://<your_domain> { reverse_proxy fusionauth:9011 }
- fusionauth is service running in docker
- caddy is running as service running in docker with above CaddyFile
-
Looks like you got some help over in the FusionAuth containers project.
I'm not super familiar with caddy, but you can also see other reverse proxy configurations (including which headers they forwarded) here: https://github.com/FusionAuth/fusionauth-contrib/tree/master/Reverse Proxy Configurations
If you get it figured out, please consider submitting a PR to that repo with the caddy config so that others can benefit from your findings.