Virtual host macros and reverse proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-Tom

    

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux