Created
September 27, 2014 23:11
-
-
Save paperdarwin/b5bf910f49875d74c8b5 to your computer and use it in GitHub Desktop.
fix bad gateway openstack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nano /etc/php5/fpm/pool.d/www.conf | |
# set listen = 127.0.0.1:9000 then save | |
# restart fpm | |
service php5-fpm restart | |
# edit your site, make sure fastcgi_pass 127.0.0.1:9000; | |
#test nginx | |
nginx -t | |
#restart nginx | |
nginx -s reload | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment