Welcome! Log In Create A New Profile

Advanced

Re: Configuration Primer

mike
March 18, 2009 04:26PM
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
>
>
>
Subject Author Posted

Re: Configuration Primer

Dan Dascalescu March 18, 2009 04:10AM

Re: Configuration Primer

Reinis Rozitis March 18, 2009 06:01AM

Re: Configuration Primer

Igor Sysoev March 18, 2009 06:15AM

Re: Configuration Primer

mike March 18, 2009 11:57AM

Re: Configuration Primer

Marcus Clyne March 18, 2009 12:05PM

Re: Configuration Primer

Reinis Rozitis March 18, 2009 12:17PM

Re: Configuration Primer

mike March 18, 2009 03:59PM

Re: Configuration Primer

Cliff Wells March 18, 2009 04:05PM

Re: Configuration Primer

mike March 18, 2009 04:26PM

RE: Configuration Primer

Chris Zimmerman March 18, 2009 08:15AM

Re: Configuration Primer

mike March 18, 2009 11:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 162
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready