Commit 42e9b8f2 authored by Victor Häggqvist's avatar Victor Häggqvist Committed by Fabien Potencier

update fastcgi_pass socket location

this makes it correspond with ubuntu 14.04 defaults
parent e46e475d
...@@ -61,7 +61,11 @@ resources to ``index.php``: ...@@ -61,7 +61,11 @@ resources to ``index.php``:
} }
location @site { location @site {
fastcgi_pass unix:/var/run/php-fpm/www.sock; # the ubuntu default
fastcgi_pass unix:/var/run/php5-fpm.sock;
# for running on centos
#fastcgi_pass unix:/var/run/php-fpm/www.sock;
include fastcgi_params; include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root/index.php; fastcgi_param SCRIPT_FILENAME $document_root/index.php;
#uncomment when running via https #uncomment when running via https
......
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