Action Dispatch AssumeSSL
When proxying through a load balancer that terminates SSL, the forwarded request will appear as though its HTTP instead of HTTPS to the application. This makes redirects and cookie security target HTTP instead of HTTPS. This middleware makes the server assume that the proxy already terminated SSL, and that the request really is HTTPS.
Methods
Class Public methods
new(app) Link
Source: show
# File actionpack/lib/action_dispatch/middleware/assume_ssl.rb, line 11 def initialize(app) @app = app end