This commit adds HTTPS and SSL support via `mkcert` to projects using the Traefik proxy. This does require changing the URLs from `*.localhost` to `*.docker.localhost`, but this is something that can easily be done by updating the template files in Build Configs. Based on https://github.com/Heziode/traefik-v2-https-ssl-localhost.
33 lines
453 B
YAML
33 lines
453 B
YAML
global:
|
|
sendAnonymousUsage: false
|
|
|
|
api:
|
|
dashboard: true
|
|
insecure: true
|
|
|
|
providers:
|
|
docker:
|
|
endpoint: "unix:///var/run/docker.sock"
|
|
watch: true
|
|
exposedByDefault: false
|
|
|
|
file:
|
|
filename: /etc/traefik/dynamic.yml
|
|
watch: true
|
|
|
|
log:
|
|
level: INFO
|
|
format: common
|
|
|
|
entryPoints:
|
|
http:
|
|
address: ":80"
|
|
http:
|
|
redirections:
|
|
entryPoint:
|
|
to: https
|
|
scheme: https
|
|
|
|
https:
|
|
address: ":443"
|