Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法在Heroku中配置SSL_Ssl_Heroku_Google Domains - Fatal编程技术网

无法在Heroku中配置SSL

无法在Heroku中配置SSL,ssl,heroku,google-domains,Ssl,Heroku,Google Domains,我在谷歌域名上买了一个域名。(例如:example.net) 但我未能在Heroku配置SSL(我使用hobby dynos)。 ACM总是失败,我不知道如何使用它。 在Heroku中: 我在网站中添加域,而不是CLI,它会出来 Domain Name DNS Target example.net <random String>.herokudns.com 在自定义资源记录中 Name Type TTL data www CNAME 1H <

我在谷歌域名上买了一个域名。(例如:example.net)
但我未能在Heroku配置SSL(我使用hobby dynos)。
ACM总是失败,我不知道如何使用它。
在Heroku中:
我在网站中添加域,而不是CLI,它会出来

Domain Name     DNS Target  
example.net     <random String>.herokudns.com  
在自定义资源记录中

Name Type  TTL  data
www  CNAME 1H   <random String>.herokudns.com
我查一下医生

CDN not returning HTTP challenge
Heroku ACM is attempting to to verify that the HTTP challenge file is being 
returned, but is encountering a 404 error. This typically happens when you 
are pointing your domain at a CDN, rather than the Heroku provided DNS 
target, and the HTTP challenge file does not exist on the CDN.

This typically happens with AWS CloudFront.

对我来说,有效的方法是把合成记录设为

Temporary redirect (302)
Forward path
Enable SSL
简而言之,我选择了向前路径,所有这些都与我在heroku的应用程序配合得很好,Hobby dyno+域名是在谷歌购买的

CDN not returning HTTP challenge
Heroku ACM is attempting to to verify that the HTTP challenge file is being 
returned, but is encountering a 404 error. This typically happens when you 
are pointing your domain at a CDN, rather than the Heroku provided DNS 
target, and the HTTP challenge file does not exist on the CDN.

This typically happens with AWS CloudFront.
Temporary redirect (302)
Forward path
Enable SSL