webdap/puma.rb

12 lines
209 B
Ruby
Raw Normal View History

2022-12-10 01:59:30 -05:00
root = Dir.getwd.to_s
bind_address = '0.0.0.0'
bind_port = 3108
bind "tcp://#{bind_address}:#{bind_port}"
pidfile './tmp/puma.pid'
state_path './tmp/puma.state'
2022-12-10 01:59:30 -05:00
rackup root.to_s + '/config.ru'
threads 4, 8