Caddy with JIRA

So having issue to get JIRA working with Caddy as reverse proxy

done the caddy file {
proxy / localhost:8090

but I get browser message:
404 Site my is not served on this interface

what am i doing wrong?

HI @Darren_Knipe, welcome to the Caddy community.

That error means that Caddy can’t find the domain you requested in the Caddyfile and doesn’t know what to do with it.

Make sure that Caddy is loading the correct Caddyfile on startup (-conf /path/to/Caddyfile), and that the domain in the Caddyfile matches what you’re typing in your browser.

I found solution to be:

proxy / localhost:8090 {
policy round_robin
header_upstream Host {host}
header_upstream X-Real-IP {remote}
header_upstream X-Forwarded-For {remote}
header_upstream X-Forwarded-Proto {scheme}


You can replace the last 4 header_upstreams with transparent. :slight_smile:

Also, policy round_robin has no effect here; it applies to proxies with multiple upstream targets.

A compact but equivalent version of your solution would be:

proxy / localhost:8090 {

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.