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

23 lines
465 B
Plaintext
Raw Normal View History

2023-02-03 17:01:35 +00:00
http:
routers:
cockpit:
rule: "Host(`{{ vault_domain }}`) && (PathPrefix(`/cockpit/`) || Path(`/cockpit`))"
2023-02-03 17:01:35 +00:00
entryPoints: https
2023-02-07 13:05:12 +00:00
middlewares:
- force-trailing-slash
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"