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@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
>
>
>