Can a caddy act as a dynamic reverse agent?

* {
    proxy *

User realization: ->
can caddy do that?

Such as:
{Caddyfile} {
} {

I’m afraid that’s not currently possible - there’s no way to take the matched wildcard from the site label.

There’s a couple of similar requests on the Github, #1894 and #1539, although they want to match the wildcard in the configured basepath rather than the site label.

See #1639 for the issue tracking the rewrite and eventual feature upgrades for the proxy directive.

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