Closed
Description
I have this in my config/production.rb
file:
config.middleware.insert_before(Rack::Runtime, Rack::Rewrite) do
r302 %r{.*}, 'https://www.mydomain.com$&', :scheme => 'http'
end
I expect when i type http://www.mydomain.com/foo/bar
to be redirected to https://www.mydomain.com/foo/bar
but instead get redirected to https://www.mydomain.com/
how can I pass the path / query string ( if any ) to ssl endpoints
Metadata
Metadata
Assignees
Labels
No labels