Caddy: [Question] Does Caddy support functionality similar to Nginx "resolver"

Created on 25 May 2016  路  2Comments  路  Source: caddyserver/caddy

Does Caddy support functionality similar to Nginx "resolver"?

Like what the author trying to do with "resolver" directive here https://tenzer.dk/nginx-with-dynamic-upstreams/

Basically, the upstream I'm proxying will change on each deployments

resolver 172.16.0.23;
set $upstream_endpoint http://some-internal-domain;
location / {
    proxy_pass $upstream_endpoint;
}

172.16.0.23 will be the DNS server IP, http://some-internal-domain will resolve to multiple A records.

All 2 comments

No, it doesn't.

Any chance this will change in the future?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PhilmacFLy picture PhilmacFLy  路  3Comments

crvv picture crvv  路  3Comments

muhammadmuzzammil1998 picture muhammadmuzzammil1998  路  3Comments

mholt picture mholt  路  3Comments

lorddaedra picture lorddaedra  路  3Comments