Welcome! Log In Create A New Profile

Advanced

Re: Need To Run Multiple Location Blocks

Edho Arief
July 17, 2012 09:46PM
On Jul 18, 2012 6:12 AM, "justin" <nginx-forum@nginx.us> wrote:
>
> So I pulled the PHP location block out, and put it in its own file
> called php.conf. Then I simply did:
>
> include /etc/nginx/php.conf
>
> In each location block that needs to execute PHP. This seems to have
> worked quite nicely. However, is there a better way of doing this?
>

AFAIK, that's the best way.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Need To Run Multiple Location Blocks

Anonymous User July 16, 2012 11:42PM

Re: Need To Run Multiple Location Blocks

Edho Arief July 17, 2012 04:32AM

Re: Need To Run Multiple Location Blocks

Anonymous User July 17, 2012 06:31PM

Re: Need To Run Multiple Location Blocks

Anonymous User July 17, 2012 07:12PM

Re: Need To Run Multiple Location Blocks

Edho Arief July 17, 2012 09:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 297
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready