Using auth_basic in dynamic vhosts

Lee Brotherston lee at
Tue Jul 8 11:37:13 MSD 2008

On Mon, Jul 07, 2008 at 05:38:13PM +0200, Manlio Perillo wrote:
> Isn't it better to simply add complete server blocks for these specific  
> hosts?

Hi Manlio,

Whilst I agree that this is a way of achieving what I want, I don't
necessarily think that it is the best way.  I am trying to avoid
duplicating configuration (i.e. the rest of the server setup) across
multiple vhosts, so that a change need only be applied in one place to
affect all vhosts.



Lee Brotherston - <lee at>

More information about the nginx mailing list