I installed Nginx on Mac using Homebrew.
% brew install nginx
% nginx -v
nginx version: nginx/1.4.1
Configure Nginx to start automatically.
% ln -sfv /usr/local/opt/nginx/*.plist ~/Library/LaunchAgents
% launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
If you want to start Nginx manually, run the following command.
% nginx
Access http://127.0.0.1:8080/
From here, configure various settings according to your use case.
That’s all from the Gemba.