Rails 7.1 enables force_ssl=true in production by default.
Rails 7.1 sets the option of config_force_ssl to true by default in production.rb file. In previous versions of Rails, it was commented out. This change will enhance web security while developing an app.
Please check out my blog on it to understand what this change means in easy-to-understand language with examples. https://blog.saeloun.com/2023/10/10/rails-force-ssl-true-production/
Post a comment