Vagrant+Homestead+nginxで502 Bad Gatewayエラー
VagrantのIPアドレスにアクセスしたら、502 Bad Gateway エラーが発生した。
ぐぐったらそれっぽいの発見。
≫ https://qiita.com/ragingalpaca/items/6fc645ebfd4604a336b3
サービス再起動で動く?
$ sudo service php7.2-fpm restart
php7.2-fpm ってサービスは何してるの?
≫ https://qiita.com/kotarella1110/items/634f6fafeb33ae0f51dc
で、
$ service --status-all
してみたら、そもそも動いてない。
起動&自動起動するように設定。
$ service php7.2-fpm start $ systemctl enable php7.2-fpm