【发布时间】:2017-05-13 02:00:18
【问题描述】:
我在 Heroku 上发布免费 SSL Dynos 之前创建了一个 django 应用。
我按照教程here
> heroku certs:auto:enable
Enabling Automatic Certificate Management... done
=== Your certificate will now be managed by Heroku. Check the status by running
> heroku certs:auto
=== Automatic Certificate Management is enabled on codetiger
Domain Status
──────────────── ───────
www.site.com Failing
site.com Failing
=== Some domains are failing validation, please verify that your DNS matches: heroku domains
当我运行heroku domains 命令时,它会显示以下内容
=== codetiger Heroku Domain
codetiger.herokuapp.com
=== codetiger Custom Domains
Domain Name DNS Target
──────────────── ──────────────────────────────
www.site.com www.site.com.herokudns.com
site.com site.com.herokudns.com
还有
Type Hostname Value TTL (seconds)
CNAME www.site.com www.site.com.herokudns.com 43200
CNAME *.site.com site.com.herokudns.com. 1800
即使做了所有这些,当我运行 heroku certs:info 时,我也只看到
site has no SSL certificates
我该怎么做才能让它工作?
【问题讨论】: