Need To Run Multiple Location Blocks
edho at myconan.net
Wed Jul 18 01:44:44 UTC 2012
On Jul 18, 2012 6:12 AM, "justin" <nginx-forum at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx