chef-recipes/containers/traefik/templates/conf/cockpit.yml.j2

23 lines
411 B
Plaintext
Raw Normal View History

2023-02-03 17:01:35 +00:00
http:
routers:
cockpit:
2023-02-06 09:11:29 +00:00
rule: "PathPrefix(`/cockpit`)"
2023-02-03 17:01:35 +00:00
entryPoints: https
2023-02-07 13:05:12 +00:00
middlewares:
- cockpit-stripprefix
2023-02-03 17:01:35 +00:00
service: cockpit
tls:
certresolver: wildcard
2023-02-07 13:05:12 +00:00
middlewares:
cockpit-stripprefix:
stripPrefix:
prefixes:
- "/cockpit"
2023-02-03 17:01:35 +00:00
services:
cockpit:
loadBalancer:
servers:
2023-02-07 13:05:12 +00:00
- url: "http://127.0.0.1:9090"