In the Traefik folder, locate the traefik_haa_cluster.yml file. Use your preferred text editor to edit the file.
traefik_haa_cluster.yml
http:
routers:
kibana-route:
entryPoints:
- kibana
rule: PathPrefix(`/`)
service: kibana
tls: {}
portal-route:
entryPoints:
- portal
rule: PathPrefix(`/`)
service: portal
tls: {}
iam-route:
entryPoints:
- iam
rule: PathPrefix(`/`)
service: iam
tls: {}
services:
kibana:
loadBalancer:
servers:
- url: http://${KIBANA_HOST_PORT}/
iam:
loadBalancer:
servers:
- url: http://${IAM_HOST_PORT}/
portal:
loadBalancer:
servers:
- url: http://${PORTAL_HOST_PORT}
middlewares:
ssl-forwards:
headers:
customRequestHeaders:
X-Forwarded-Proto: "https"
X-Forwarded-Host: "${DOMAIN}" 4
tls:
stores:
default:
defaultCertificate: (5)
certFile: /certs/haa.crt
keyFile: /certs/haa.key
If you want to use the supplied certificates, replace the existing content to:
certfile: .\certs\haa.crt
and:
keyfile: .\certs\haa.key