nginxのmacの自動起動がうまくいかないです。
php-fpm設定
$ brew tap homebrew/dupes $ brew tap homebrew/versions $ brew tap homebrew/php ln -sfv /usr/local/opt/php56/*.plist ~/Library/LaunchAgents launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php56.plist
nginx設定
brew install nginx ln -sfv /usr/local/opt/nginx/*.plist ~/Library/LaunchAgents launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
サービス確認
$ brew services list mysql started user1 /Users/user1/Library/LaunchAgents/homebrew.mxcl.mysql.plist nginx error user1 /Users/user1/Library/LaunchAgents/homebrew.mxcl.nginx.plist php56 started user1 /Users/user1/Library/LaunchAgents/homebrew.mxcl.php56.plist
nginxのservicesだけerrorになりました。
mac再起動後
http://~ で確認してみてもこのサイトにアクセスできませんとなります。
その後手動でsudo nginxとすると起動できます。
nginxの自動起動ができない理由はなんなのでしょうか?
あなたの回答
tips
プレビュー