Last active
March 14, 2018 20:40
-
-
Save basedalexander/c6a9a2262b29b1486432d5ba847d0b4f to your computer and use it in GitHub Desktop.
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
| # Article https://coderwall.com/p/dgwwuq/installing-nginx-in-mac-os-x-maverick-with-homebrew | |
| # http://brianflove.com/2015/04/04/learning-nginx-on-os-x/ | |
| brew install nginx | |
| # run to test, go to localhost:8080 | |
| sudo nginx | |
| # stop | |
| sudo nginx -s stop/start/reload/restart | |
| # open config and change to port 80 | |
| vi /usr/local/etc/nginx/nginx.conf | |
| # run | |
| sudo nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment