I have a Rails 6 app. I have an internal version that is in production, but I can't use an SSL cert with it.
I've tried to turn off SSL redirection with:
config.ssl_options = { redirect: false, secure_cookies: false, hsts: false }
in config/environment/production.rb
I'm using the standard Devise. The login page is correctly served over http://. When I sign in, however, the page is redirected to an https:// version.
How can I prevent this?