Using auth_basic in dynamic vhosts

Igor Clark igor at pokelondon.com
Tue Jul 8 13:19:24 MSD 2008


Hi Lee, you could try factoring chunks of what you want to do out into  
separate files and using "include" so that you only have to change it  
there

On 8 Jul 2008, at 08:37, Lee Brotherston wrote:

> 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.
>
> Thanks
>
>  Lee
>
> -- 
> Lee Brotherston - <lee at nerds.org.uk>
>

--
Igor Clark • POKE • 10 Redchurch Street • E2 7DD • +44 (0)20 7749 5355  
• www.pokelondon.com








More information about the nginx mailing list