Permalink
Browse files

Fix listen to socket

  • Loading branch information...
1 parent c9d3739 commit 603bf53c72a504449115a5adf73406df0981df0d @davidebettio committed May 29, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −0 README.md
  2. +1 −1 nginx.conf
View
@@ -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
-------------
View
@@ -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;
}

0 comments on commit 603bf53

Please sign in to comment.