1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib/puma
Jacob Herrington ff6f08c87a Add support for APP_ENV environment variable
Using APP_ENV to set the environment is supported by Sinatra and
Sidekiq, so it makes sense to support the same behavior in Puma.

Like Sidekiq, APP_ENV will take precedence over RACK_ENV and RAILS_ENV.
APP_ENV defers to any argument passed via the --environment flag.

Closes https://github.com/puma/puma/issues/2692
2021-09-20 10:12:38 -05:00
..
app Rename Puma::JSON to Puma::JSONSerialization (#2640) 2021-06-09 08:55:45 -06:00
cluster Replace IO.select with IO#wait_* when checking a single IO (#2666) 2021-07-25 13:27:20 -06:00
minissl [SSL] Add ability to set verification flags (#2490) 2020-12-07 17:21:23 -06:00
plugin Test cleanup and parallelization (#1846) 2019-07-16 18:53:28 -04:00
rack Add Rubocop for redundant returns 2021-06-10 12:28:35 -06:00
binder.rb Automatic SSL certificate provisioning for localhost (#2610) 2021-08-18 08:33:11 -06:00
cli.rb Add a semantic CLI option for no config file (#2689) 2021-09-05 12:31:50 -06:00
client.rb add support for the PROXY protocol (v1 only) (#2654) 2021-09-07 07:21:03 -06:00
cluster.rb Replace IO.select with IO#wait_* when checking a single IO (#2666) 2021-07-25 13:27:20 -06:00
commonlogger.rb fix: Update links to use TLS/SSL [ci skip] [changelog skip] 2020-08-14 00:20:07 +05:30
configuration.rb Add support for APP_ENV environment variable 2021-09-20 10:12:38 -05:00
const.rb add support for the PROXY protocol (v1 only) (#2654) 2021-09-07 07:21:03 -06:00
control_cli.rb Add support for APP_ENV environment variable 2021-09-20 10:12:38 -05:00
detect.rb Move ssl detection to puma.rb (#2541) 2021-02-01 14:10:28 -07:00
dsl.rb add support for the PROXY protocol (v1 only) (#2654) 2021-09-07 07:21:03 -06:00
error_logger.rb fix some spell errors (#2615) 2021-04-29 10:01:15 -06:00
events.rb Avoid mutating stdout and stderr (#2486) 2020-12-02 10:43:53 -07:00
io_buffer.rb IOBuffer back to Ruby (#1980) 2020-02-27 13:50:34 -06:00
jruby_restart.rb Remove daemonization (#2170) 2020-03-10 12:08:34 -06:00
json_serialization.rb Rename Puma::JSON to Puma::JSONSerialization (#2640) 2021-06-09 08:55:45 -06:00
launcher.rb Preserve BUNDLE_APP_CONFIG on worker fork (#2688) 2021-09-03 10:52:35 -07:00
minissl.rb Fix performance of server-side SSL connection close. (#2675) 2021-09-08 15:50:11 -05:00
null_io.rb Add #flush and #sync methods to Puma::NullIO (#2553) 2021-02-10 15:30:24 -07:00
plugin.rb Add Rubocop for redundant returns 2021-06-10 12:28:35 -06:00
queue_close.rb Refactor drain on shutdown (#2600) 2021-04-30 17:22:59 -05:00
rack_default.rb Test cleanup and parallelization (#1846) 2019-07-16 18:53:28 -04:00
reactor.rb Allow specifying the desired IO selector backend for nio4r (#2522) 2021-01-12 09:39:33 -07:00
request.rb Replace IO.select with IO#wait_* when checking a single IO (#2666) 2021-07-25 13:27:20 -06:00
runner.rb Restore sync=true on global stdout/stderr streams (#2557) 2021-02-22 13:17:03 -07:00
server.rb More elaborate exception handling. (#2700) 2021-09-16 10:54:14 -06:00
single.rb Server run thread safety fix [changelog skip] (#2435) 2020-10-20 07:26:16 -06:00
state_file.rb File.open -> File.read, File.write (#2493) 2020-11-27 08:47:33 -07:00
systemd.rb Add systemd notify and watchdog support (#2438) 2020-10-26 16:02:31 -06:00
thread_pool.rb Better names for thread pool threads (#2657) 2021-07-13 12:58:34 -06:00
util.rb Add Rubocop for redundant returns 2021-06-10 12:28:35 -06:00