webdap/puma.rb

12 lines
209 B
Ruby

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'
rackup root.to_s + '/config.ru'
threads 4, 8