Configuration Primer
mike
mike503 at gmail.com
Wed Mar 18 23:05:03 MSK 2009
yes but each virtual host may have different php configs. so then i'm
supporting a ton of includes :)
On Wed, Mar 18, 2009 at 12:44 PM, Cliff Wells <cliff at develix.com> wrote:
> On Wed, 2009-03-18 at 12:38 -0700, mike wrote:
>> i don't like having to do
>>
>> location \.php {
>> stuff
>> }
>>
>> location /foo {
>> auth basic stuff
>> ... and i have to do the php stuff again
>> }
>
> Couldn't you just do:
>
> include /etc/nginx/php.conf;
>
> location /foo {
> auth basic stuff
> include /etc/nginx/php.conf;
> }
>
> Regards,
> Cliff
>
>
>
More information about the nginx
mailing list