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