Sha256: da92528cd015d5a092ed0993b8a3546f2aa8f15aa5f09e2c5b6177afcb142ee0
Contents?: true
Size: 578 Bytes
Versions: 1
Compression:
Stored size: 578 Bytes
Contents
## # Default configuration of Midori, extends +Configurable+ class Midori::Configure extend Configurable set :logger, ::Logger.new(STDOUT) set :bind, '127.0.0.1' set :port, 8080 set :route_type, :sinatra set :before, proc {} set :proxy, false set :trust_real_ip, false set :trusted_proxies, /\A127\.0\.0\.1\Z|\A(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.| \A::1\Z|\Afd[0-9a-f]{2}:.+|\Alocalhost\Z|\Aunix\Z|\Aunix:/ix set :tcp_fast_open, true set :keep_alive, true set :keep_alive_timeout, 75 set :keep_alive_requests, 1000 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
midori.rb-0.6.0 | lib/midori/configure.rb |