Skip to content

Instantly share code, notes, and snippets.

@jacksonpires
Last active September 24, 2018 19:31
Show Gist options
  • Save jacksonpires/9a6bf6b29a446881fd6fe6e5309cd08e to your computer and use it in GitHub Desktop.
Save jacksonpires/9a6bf6b29a446881fd6fe6e5309cd08e to your computer and use it in GitHub Desktop.
Unicorn Configuration (config/unicorn/production.rb)
root = "/var/www/escamboapp/current"
working_directory root
pid "#{root}/tmp/pids/unicorn.pid"
stderr_path "#{root}/log/unicorn.log"
stdout_path "#{root}/log/unicorn.log"
worker_processes 4
timeout 30
preload_app true
listen '/tmp/escamboapp.sock', backlog: 64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment