Commit 5fc0a7fe authored by Beau Simensen's avatar Beau Simensen

fastcgi_pass requires unix: prefix when using a socket

This is the case on my system at any rate. Possible that it is not
required in all cases or newer/older versions of nginx?
parent 4679d476
...@@ -46,7 +46,7 @@ resources to ``index.php``: ...@@ -46,7 +46,7 @@ resources to ``index.php``:
} }
location ~ index\.php$ { location ~ index\.php$ {
fastcgi_pass /var/run/php5-fpm.sock; fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php; fastcgi_index index.php;
include fastcgi_params; include fastcgi_params;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment