Sha256: 457d032577ee5f624f35e1703f97cab9cc789674c5844fbaace266e57a64e959

Contents?: true

Size: 423 Bytes

Versions: 7

Compression:

Stored size: 423 Bytes

Contents

require 'dotenv/load'

root = Dir.getwd.to_s
threads_count = Integer(ENV['MAX_THREADS'] || 5)

workers Integer(ENV['WEB_CONCURRENCY'] || 2)
pidfile     "#{root}/pids/puma.pid"
state_path  "#{root}/pids/puma.state"
threads threads_count, threads_count

bind 'tcp://0.0.0.0:9292'

if File.exist?('./privkey.pem') && File.exist?('./fullchain.pem')
  ssl_bind '0.0.0.0', 9293, key: './privkey.pem', cert: './fullchain.pem'
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
proxes-0.9.7 config/puma.rb
proxes-0.9.4 config/puma.rb
proxes-0.9.2 config/puma.rb
proxes-0.9.1 config/puma.rb
proxes-0.9.0 config/puma.rb
proxes-0.8.6 config/puma.rb
proxes-0.8.5 config/puma.rb