This project is archived and is in readonly mode.

Changeset [2c0c4d754e34b13379dfc53121a970c25fab5dae] by Prem Sichanugrist

March 27th, 2011 @ 09:27 PM

Add config.force_ssl configuration which will load Rack::SSL middleware if set to true

This will allow user to be able to force all requests to be under HTTPS protocol.

This commit was a request from DHH. Special thanks to Josh Peek as well for making Rack::SSL.
https://github.com/rails/rails/commit/2c0c4d754e34b13379dfc53121a97...

Committed by Prem Sichanugrist

  • M railties/CHANGELOG
  • M railties/guides/source/configuring.textile
  • M railties/guides/source/security.textile
  • M railties/lib/rails/application.rb
  • M railties/lib/rails/application/configuration.rb
  • M railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
  • M railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
  • M railties/railties.gemspec
  • M railties/test/application/middleware_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>