1 # frozen_string_literal: false
2 # Minimal sample configuration file for Unicorn (not Rack) when used
3 # with daemonization (unicorn -D) started in your working directory.
5 # See https://yhbt.net/unicorn/Unicorn/Configurator.html for complete
7 # See also https://yhbt.net/unicorn/examples/unicorn.conf.rb for
8 # a more verbose configuration using more features.
10 listen 2007 # by default Unicorn listens on port 8080
11 worker_processes 2 # this should be >= nr_cpus
12 pid "/path/to/app/shared/pids/unicorn.pid"
13 stderr_path "/path/to/app/shared/log/unicorn.log"
14 stdout_path "/path/to/app/shared/log/unicorn.log"