masx200
(masx200)
1
1. Caddy version (caddy version
):
2.5.1
2. How I run Caddy:
a. System environment:
windows 11
b. Command:
caddy start
c. Service/unit/compose file:
d. My complete Caddyfile or JSON config:
hello.world {
reverse_proxy {
dynamic http http://registry.example.org/some-service {
refresh <interval>
dial_timeout <duration>
dial_fallback_delay <duration>
}
}
}
3. The problem I’m having:
can reverse proxy to dynamic upstreams by http?
4. Error messages and/or full log output:
5. What I already tried:
6. Links to relevant resources:
We don’t currently have an http
module for this, because the response format is generally usecase-specific. But you can write your own quite easily.
Just copy the code of either the SRV or A upstream provider, and make the necessary changes to make an HTTP request to your backend instead:
2 Likes
system
(system)
Closed
3
This topic was automatically closed after 30 days. New replies are no longer allowed.