Ssl 如何使用rails 5和Desive 4在heroku上建立安全连接
我使用默认设置在rails 5应用程序上安装了Desive 4,并将其部署到heroku。现在,当我访问登录或注册页面时,我会看到Ssl 如何使用rails 5和Desive 4在heroku上建立安全连接,ssl,heroku,devise,ruby-on-rails-5,Ssl,Heroku,Devise,Ruby On Rails 5,我使用默认设置在rails 5应用程序上安装了Desive 4,并将其部署到heroku。现在,当我访问登录或注册页面时,我会看到 Your connection is not secure 关于firefox和 Your connection is not private 在chrome浏览器上您必须在heroku->setting->ssl上添加ssl证书,使用该证书您的站点是安全的,并在config/environments/production.rb中进行更改 然后推到heroku
Your connection is not secure
关于firefox和
Your connection is not private
在chrome浏览器上您必须在heroku->setting->ssl上添加ssl证书,使用该证书您的站点是安全的,并在config/environments/production.rb中进行更改 然后推到heroku
config.force_ssl = true