config/environments/production.rb
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
config.force_ssl = true #← Comme ceci est commenté, il suffit de l'annuler
Documentation officielle https://help.heroku.com/J2R1S4T8/can-heroku-force-an-application-to-use-ssl-tls
Recommended Posts