Puma silent crash with nginx reverse proxy
问题 I have a puma server running a ruby on rails app on an AWS EC2 instance. It was working fine for a while, but I found it responding with 502 errors a few hours later. The app is deployed with capistrano. A simple restart of puma fixed the problem temporarily, but I want to prevent it happening again. Not quite sure what to try first. Here's my capistrano puma config: set :puma_rackup, -> { File.join(current_path, 'config.ru') } set :puma_state, "#{shared_path}/tmp/pids/puma.state" set :puma