Documentation/rainbows.1.txt in rainbows-4.4.3 vs Documentation/rainbows.1.txt in rainbows-4.5.0
- old
+ new
@@ -56,10 +56,14 @@
and PATH is meant to be a path to a UNIX domain socket.
Defaults to "0.0.0.0:8080" (all addresses on TCP port 8080)
For production deployments, specifying the "listen" directive in
CONFIG_FILE is recommended as it allows fine-tuning of socket
options.
+-N, \--no-default-middleware
+: Disables loading middleware implied by RACK_ENV. This bypasses the
+ configuration documented in the RACK ENVIRONMENT section, but still
+ allows RACK_ENV to be used for application/framework-specific purposes.
# RACKUP COMPATIBILITY OPTIONS
-o, \--host HOST
: Listen on a TCP socket belonging to HOST, default is
"0.0.0.0" (all addresses).
@@ -135,13 +139,13 @@
All unrecognized values for RACK_ENV are assumed to be
"none". Production deployments are strongly encouraged to use
"deployment" or "none" for maximum performance.
-Note that the Rack::ContentLength and Rack::Chunked middlewares
-are never loaded by default. If needed, they should be
-individually specified in the RACKUP_FILE, some frameworks do
-not require them.
+Note the Rack::ContentLength and Rack::Chunked middlewares are also
+loaded by "deployment" and "development", but no other values of
+RACK_ENV. If needed, they must be individually specified in the
+RACKUP_FILE, some frameworks do not require them.
# SEE ALSO
* unicorn(1)
* *Rack::Builder* ri/RDoc