Skip to content
joeangel edited this page Apr 24, 2017 · 12 revisions

Welcome to the aio wiki!

pull/push from multiple remote locations

http://stackoverflow.com/a/849960

Nginx on Mac

Docroot is: /usr/local/var/www

The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that nginx can run without sudo.

nginx will load all files in /usr/local/etc/nginx/servers/.

To have launchd start nginx now and restart at login:

brew services start nginx

Or, if you don't want/need a background service you can just run:

nginx  

WARNING: brew services will fail when run under tmux.

Clone this wiki locally