Skip to content

Instantly share code, notes, and snippets.

@basedalexander
Last active March 14, 2018 20:40
Show Gist options
  • Select an option

  • Save basedalexander/c6a9a2262b29b1486432d5ba847d0b4f to your computer and use it in GitHub Desktop.

Select an option

Save basedalexander/c6a9a2262b29b1486432d5ba847d0b4f to your computer and use it in GitHub Desktop.
# 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