Created
June 2, 2019 18:00
-
-
Save jacksonpires/6f3de4886e64bb3ef5202b330d304947 to your computer and use it in GitHub Desktop.
Unicorn Configuration (config/unicorn/production.rb)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = "/var/www/<pasta da app>/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/<nome escolhido no nginx>.sock', backlog: 64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment