Skip to content

Commit

Permalink
Fix listen to socket
Browse files Browse the repository at this point in the history
  • Loading branch information
davidebettio committed May 29, 2012
1 parent c9d3739 commit 603bf53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -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
-------------
Expand Down
2 changes: 1 addition & 1 deletion nginx.conf
Expand Up @@ -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;
}

Expand Down

0 comments on commit 603bf53

Please sign in to comment.