Created
November 24, 2014 19:56
-
-
Save bosskovic/213dec91b3446b3d3b84 to your computer and use it in GitHub Desktop.
nginx notes
This file contains hidden or 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
sudo service nginx start | |
sudo service nginx stop | |
sudo service nginx restart | |
# show configuration errors | |
nginx -c /etc/nginx/nginx.conf -t |
This file contains hidden or 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
sudo apt-get install nginx | |
sudo service nginx start | |
sudo nano /etc/nginx/sites-available/default | |
sudo apt-get install php5-fpm php5-mysql | |
# cgi.fix_pathinfo=0 | |
sudo nano /etc/php5/fpm/php.ini | |
sudo service nginx restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment