El Capitanにhomebrewでnginx入れる

インストール

$ brew install nginx

起動

$ nginx

停止

$ nginx -s stop

デフォルト設定ファイル

/usr/local/etc/nginx/nginx.conf

デフォルトディレクト

/usr/local/Cellar/nginx/バージョン

デフォルトログディレクト

/usr/local/var/log/nginx/*.log

デフォルトページ

http://127.0.0.1:8080/

nginx実践入門 (WEB+DB PRESS plus)

nginx実践入門 (WEB+DB PRESS plus)