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

23 lines
411 B
Django/Jinja

http:
routers:
cockpit:
rule: "PathPrefix(`/cockpit`)"
entryPoints: https
middlewares:
- cockpit-stripprefix
service: cockpit
tls:
certresolver: wildcard
middlewares:
cockpit-stripprefix:
stripPrefix:
prefixes:
- "/cockpit"
services:
cockpit:
loadBalancer:
servers:
- url: "http://127.0.0.1:9090"