Dynamic Mass vhosts / reverse proxying

Antonio P.P. Almeida appa at perusio.net
Tue Dec 11 13:30:56 UTC 2012

> I'm trying to configure mass (300+) dynamic vhosts and reverse proxying.
> users come in at: https://test.abc.example.com and should be transparantly
> proxied to: http://foo.abc.somethingelse.net
> Anyone who has this kind of config running ?
> - tried regular expressions
> - wildcard certificate available

Look up the map directive:


I think it's the most suitable thing for your setup.


More information about the nginx mailing list