summary refs log tree commit homepage
path: root/examples/unicorn.conf.minimal.rb
blob: 2d1bf0a7848ebdb359590ce1933a2d393fe0b7ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Minimal sample configuration file for Unicorn (not Rack) when used
# with daemonization (unicorn -D) started in your working directory.
#
# See https://bogomips.org/unicorn/Unicorn/Configurator.html for complete
# documentation.
# See also https://bogomips.org/unicorn/examples/unicorn.conf.rb for
# a more verbose configuration using more features.

listen 2007 # by default Unicorn listens on port 8080
worker_processes 2 # this should be >= nr_cpus
pid "/path/to/app/shared/pids/unicorn.pid"
stderr_path "/path/to/app/shared/log/unicorn.log"
stdout_path "/path/to/app/shared/log/unicorn.log"