我在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
我能做些什么工作?
答案 0 :(得分:2)