aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorJustin Leitgeb <justin@stackbuilders.com>2011-09-26 22:22:52 -0400
committerJustin Leitgeb <justin@stackbuilders.com>2011-09-26 22:22:52 -0400
commitcb5c39f8a0af78e933d1fe0456c112db1e97813f (patch)
tree7ef01cf82a7e0603542073aeacb1a4a794047368 /railties/guides
parent01e5e2faebb4a8082d38eb585762dc16ce3698f7 (diff)
downloadrails-cb5c39f8a0af78e933d1fe0456c112db1e97813f.tar.gz
rails-cb5c39f8a0af78e933d1fe0456c112db1e97813f.tar.bz2
rails-cb5c39f8a0af78e933d1fe0456c112db1e97813f.zip
Make the Rack::SSL middleware configurable
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/configuring.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index cad2d03c23..41b53440f7 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -179,7 +179,7 @@ h4. Configuring Middleware
Every Rails application comes with a standard set of middleware which it uses in this order in the development environment:
-* +Rack::SSL+ Will force every request to be under HTTPS protocol. Will be available if +config.force_ssl+ is set to +true+.
+* +Rack::SSL+ Will force every request to be under HTTPS protocol. Will be available if +config.force_ssl+ is set to +true+. Options passed to this can be configured by using +config.ssl_options+.
* +ActionDispatch::Static+ is used to serve static assets. Disabled if +config.serve_static_assets+ is +true+.
* +Rack::Lock+ Will wrap the app in mutex so it can only be called by a single thread at a time. Only enabled if +config.action_controller.allow_concurrency+ is set to +false+, which it is by default.
* +ActiveSupport::Cache::Strategy::LocalCache+ Serves as a basic memory backed cache. This cache is not thread safe and is intended only for serving as a temporary memory cache for a single thread.