Skip to content

Commit

Permalink
Fix production socket
Browse files Browse the repository at this point in the history
  • Loading branch information
johnf committed Nov 4, 2023
1 parent 048d705 commit 5b6eaa2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,4 @@
# Allow puma to be restarted by `bin/rails restart` command.
plugin :tmp_restart

if ENV['RAILS_ENV'] === 'production'
bind 'unix:///srv/www/nabu/shared/tmp/sockets/nabu-puma.sock'
else
bind 'tcp://0.0.0.0:3000'
end
bind 'tcp://0.0.0.0:3000'

0 comments on commit 5b6eaa2

Please sign in to comment.