Skip to content

Instantly share code, notes, and snippets.

@JohnKim
Created May 3, 2013 14:39
Show Gist options
  • Save JohnKim/5509513 to your computer and use it in GitHub Desktop.
Save JohnKim/5509513 to your computer and use it in GitHub Desktop.
install nginx for OSX
# Install with brew
$ brew install nginx
# After install run:
$ sudo nginx
# Test it by going to URL: http://localhost:8080
# Configuration
# /usr/local/etc/nginx/nginx.conf
# stop the nginx server if it is running by:
$ sudo nginx -s stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment