traefik/traefik.yml
2024-05-14 19:00:44 +02:00

31 lines
437 B
YAML

entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
permanent: true
websecure:
address: ":443"
http:
routers:
my-router:
rule: "Path(`/foo`)"
service: service-foo
api:
insecure: true
dashboard: true
entryPoint: "websecure"
# docker:
# endpoint: "unix:///var/run/docker.sock"
# exposedByDefault: false