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

32 lines
720 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-15 13:01:28 +00:00
- drop-xforwarded-proto
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-15 13:01:28 +00:00
drop-xforwarded-proto:
headers:
customrequestheaders:
X-Forwarded-Proto: ""
2023-02-07 13:05:12 +00:00
2023-02-03 17:01:35 +00:00
services:
cockpit:
loadBalancer:
2023-02-15 13:01:28 +00:00
serversTransport: nocertverify
2023-02-03 17:01:35 +00:00
servers:
2023-02-15 13:01:28 +00:00
- url: "https://{{ vault_domain }}:9090"
serversTransports:
nocertverify:
insecureSkipVerify: true