Comment on Can't access some services behind reverse proxy
hendrik@palaver.p3x.de 1 week ago
I’d say there’s likely something wrong with your service. Maybe it refuses serving on a domain it’s not configured for? Or there’s something wrong with the headers or something like that. Or the internal network. Anyway, the 502 error is sent by the Caddy server. That means everything from your browser to the Caddy server should be fine. You can reach it. There’s something wrong with the service or the parts in-between the reverse proxy and the application.
dimjim@sh.itjust.works 1 week ago
This is the right approach, I’ve had several services require extra bits in the caddy config such as:
reverse_proxy 192.168.50.6:8006 { transport http { tls_insecure_skip_verify } }I would do a search for “your service & caddy”, someone probably has ran into the same issue.
HoodedBandit@lemmy.zip 1 week ago
FWIW, here is my ActualBudget config.
dimjim@sh.itjust.works 1 week ago
I’ve never used ActualBudget, but their docs have a slightly different caddy example config:
budget.example.org { encode gzip zstd reverse_proxy actual_server:5006 }HoodedBandit@lemmy.zip 1 week ago
Yep, just sharing what worked for me