From c09e6ed7a4b6ff8c4ca539a956032b1812102bf5 Mon Sep 17 00:00:00 2001 From: Ankit Pokhrel Date: Wed, 25 Nov 2015 12:04:13 +0545 Subject: [PATCH] Add a note for nginx setup --- en/installation/url-rewriting.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/en/installation/url-rewriting.rst b/en/installation/url-rewriting.rst index 7f2a00bace..552c4dad72 100644 --- a/en/installation/url-rewriting.rst +++ b/en/installation/url-rewriting.rst @@ -210,6 +210,9 @@ inject "/webroot" in each request. ... php handling ... } + +.. note:: + Recent configuration of PHP-FPM is set to listen to php-fpm socket instead of TCP port 9000 on address 127.0.0.1. If you get 502 bad gateway error from above configuration, try replacing fastcgi_pass from TCP port to socket path (eg: fastcgi_pass unix:/var/run/php5-fpm.sock;). URL Rewrites on IIS7 (Windows hosts) ====================================