我目前有一个来自domain.com的域。我有一个heroku域名和一个dns目标。我还启用了domain.com上的免费SSL。
version: '3'
services:
my_service:
container_name: my-service
image: my-service:latest
extra_hosts:
- "myhostname:192.168.0.x"
...
networks:
- host
networks:
host:
注意:这适用于非https。
我将.htaccess文件升格到了heroku上,因此heroku域现在位于https://path.herokuapp.com处。
此域名cname无法获取网站的https版本。
我的问题是:如何让我的域使用https?我在任何地方都看不到该怎么做。
答案 0 :(得分:0)
我必须在Heroku端设置SSL。 :(