I have multiple virtual hosts for which I would like to use a reverse proxy to a dynamic application running constantly on my server.
I would like to use a macro to do something like this pseudo code:
$port = 16000
for each domain.tld
map domain.tld to localhost:$port
$port += 10
end for
Is that possible?
Otherwise I guess I can generate the required .conf files offline and include them in the master .conf file somehow.
Thanks.