Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
Update puma config with config from server
Browse files Browse the repository at this point in the history
  • Loading branch information
jsyeo committed Dec 8, 2014
1 parent 9aada17 commit 5d876bf
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
pidfile 'tmp/pids/puma.pid'
state_path 'tmp/pids/puma.state'

# stdout_redirect 'log/puma.log', 'log/puma_err.log'
stdout_redirect 'log/puma.log', 'log/puma_err.log'

# quiet
threads 0, 30
bind 'unix://tmp/sockets/puma.sock'
threads 10, 20
bind 'unix:///var/www/coursemology/tmp/sockets/puma.sock'

# ssl_bind '127.0.0.1', '9292', { key: path_to_key, cert: path_to_cert }

Expand All @@ -31,12 +31,13 @@

# === Cluster mode ===

# workers 2

workers 2
# on_worker_boot do
# puts 'On worker boot...'
# end

# === Puma control rack application ===

activate_control_app 'unix://tmp/sockets/pumactl.sock'

preload_app!

0 comments on commit 5d876bf

Please sign in to comment.