1
0

More than 3 years have passed since last update.

502 Bad Gatewayの解決方法

Posted at

環境

  • Rails 5.2.3
  • Capistrano
  • EC2
  • Nginx
  • puma

エラー内容

デプロイ後、ブラウザにてアプリを再読み込みしたところ、「502 Bad Gateway」が表示された。

解決方法

EC2インスタンスを再起動する事で、解決できました。

手順
1. AWSにログインする。
2. EC2へアクセスする。
3. インスタンス画面へアクセスし、インスタンスを選択する。
4. 「インスタンスの状態」の「インスタンスを再起動」を実行。

以上

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0