Assuming your domain is example.com
and your apps root directory is /var/www/example.com
cd
into the root directory and create directories var/run
, var/log
. This is where your domain socket and server logs will be stored.
Next create a file puma.rb
with the following
threads 1, 6