fuel-ccp/tools/ingress/traefik-conf.yaml

19 lines
475 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: traefik-conf
data:
traefik.toml: |
defaultEntryPoints = ["http","https"]
[entryPoints]
[entryPoints.http]
address = ":HTTP_PORT"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":HTTPS_PORT"
[entryPoints.https.tls]
[[entryPoints.https.tls.certificates]]
CertFile = "/ssl/tls.crt"
KeyFile = "/ssl/tls.key"