I am actually talking about “massive” virtual hosting, where you can add new virtual hosts without modifying the configuration file. Nice for a blog farm :)
For “mass hosting” you just need in main config file
include vhosts/*.conf
and some “vhost.conf” files.
To make nginx reload config kill -HUP pid. In that configuration you can have as many vhosts as you want.
It’s easy can be implemented an frontend like web-interface to generate those files.
I am actually talking about “massive” virtual hosting, where you can add new virtual hosts without modifying the configuration file. Nice for a blog farm :)
For “mass hosting” you just need in main config file
include vhosts/*.conf
and some “vhost.conf” files.
To make nginx reload config kill -HUP pid. In that configuration you can have as many vhosts as you want. It’s easy can be implemented an frontend like web-interface to generate those files.