Can a caddy act as a dynamic reverse agent?

(蝶恋暗舞) #1
* {
    proxy *

User realization: ->
can caddy do that?

Such as:
{Caddyfile} {
} {

(Matthew Fay) #2

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.

(system) #3

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