From 603bf53c72a504449115a5adf73406df0981df0d Mon Sep 17 00:00:00 2001 From: Davide Bettio Date: Tue, 29 May 2012 21:35:33 +0200 Subject: [PATCH] Fix listen to socket --- README.md | 3 +++ nginx.conf | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 113eeea..b896ed4 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,9 @@ Wordpress automatic update change php-fpm user in /etc/php/fpm/pool.d/www.conf user = ubuntu group = ubuntu + + change listen to socket + listen = /var/run/php-fpm.sock crontab for Rails tasks ------------- diff --git a/nginx.conf b/nginx.conf index 462cd69..538e430 100644 --- a/nginx.conf +++ b/nginx.conf @@ -39,7 +39,7 @@ http { #gzip on; upstream php { - server unix:/var/run/php-fpm/php-fpm.sock; + server unix:/var/run/php-fpm.sock; #server 127.0.0.1:9000; }