Condensing a configuration

Is there a better, more succinct way of writing:

myresponder.local:80 {
    tls off
    proxy / myresponder:80 {
        transparent
    }
    log stdout
    errors stdout
}
d.myresponder.local:80 {
    tls off
    proxy / myresponder:80 {
        transparent
    }
    log stdout
    errors stdout
}
m.myresponder.local:80 {
    tls off
    proxy / myresponder:80 {
        transparent
    }
    log stdout
    errors stdout
}
g.myresponder.local:80 {
    tls off
    proxy / myresponder:80 {
        transparent
    }
    log stdout
    errors stdout
}
h.myresponder.local:80 {
    tls off
    proxy / myresponder:80 {
        transparent
    }
    log stdout
    errors stdout
}

Have you tried something like this?

myresponder.local:80, d.myresponder.local:80, m.myresponder.local:80, g.myresponder.local:80, h.myresponder.local:80 {
    tls off
    proxy / myresponder:80 {
        transparent
    }
    log stdout
    errors stdout
}

Or maybe even just *.myresponder.local:80

4 Likes

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