502 Bad Gateway after reboot Ubuntu


I get a 502 Bad Gateway error after rebooting Ubuntu 18.04. Nginx is up and running.

How can I restart Consul, I installed using the Ansible playbook

Hi, Wouter.

You mean how to restart Puma? You can do it using capistrano:
cap production deploy:restart where “production” should be the environment in which you have installed… it could also be “staging” or “pre-production” for example.

Or you can do it manually on the production server:
bundle exec pumactl -S tmp/pids/puma.state -F config/puma/production.rb restart