Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
diff --git a/lib/rack/server.rb b/lib/rack/server.rb
index 33d5389..27f1244 100644
--- a/lib/rack/server.rb
+++ b/lib/rack/server.rb
@@ -233,6 +233,7 @@ module Rack
+ m["production"] = m["deployment"]
m["development"] = [
diff --git a/lib/unicorn.rb b/lib/unicorn.rb
index 467245d..974c373 100644
--- a/lib/unicorn.rb
+++ b/lib/unicorn.rb
@@ -67,7 +67,7 @@ module Unicorn
use Rack::Lint
run inner_app
- when "deployment"
+ when "deployment", "production" do
use Rack::ContentLength
use Rack::Chunked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.