traefik/traefik.yml

31 lines
437 B
YAML
Raw Normal View History

2024-05-04 08:03:00 +00:00
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
permanent: true
2024-05-03 21:10:19 +00:00
2024-05-04 08:03:00 +00:00
websecure:
address: ":443"
2024-05-03 21:10:19 +00:00
2024-05-14 17:00:44 +00:00
http:
routers:
my-router:
rule: "Path(`/foo`)"
service: service-foo
2024-05-04 08:03:00 +00:00
api:
2024-05-04 16:36:40 +00:00
insecure: true
dashboard: true
2024-05-04 16:42:45 +00:00
entryPoint: "websecure"
2024-05-14 17:00:44 +00:00
2024-05-04 16:16:41 +00:00
# docker:
# endpoint: "unix:///var/run/docker.sock"
# exposedByDefault: false
2024-05-03 21:10:19 +00:00