【问题标题】:Using 1and1, heroku, www domain does not have ssl使用1and1,heroku,www域没有ssl
【发布时间】:2020-04-23 15:10:36
【问题描述】:

我有一个托管在 heroku 上的网站。我购买了爱好,现在它有 ssl。在 1and1 上,我将根域指向 https:// 地址,并且 ssl 工作正常。在 www 域上没有 ssl。我在 1and1 上为 www 子域的 CNAME 添加了 ssl herokudn 地址。不工作。我能做些什么?

【问题讨论】:

    标签: ssl heroku dns


    【解决方案1】:

    问题出在 Rails 上。在 production.rb 上,您必须取消注释 config.force_ssl = true

    【讨论】:

      猜你喜欢
      • 2016-05-11
      • 1970-01-01
      • 2021-07-03
      • 2020-02-16
      • 2016-10-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-02-14
      相关资源
      最近更新 更多