Welcome! Log In Create A New Profile

Advanced

Re: Configuration Primer

Cliff Wells
March 18, 2009 04:05PM
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: 152
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready