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

28 lines
659 B
Plaintext
Raw Permalink Normal View History

2023-02-03 17:01:35 +00:00
http:
routers:
cockpit:
2023-04-06 08:56:26 +00:00
rule: "Host(`{{ vault_domain }}`) && (PathPrefix(`/admin/`) || Path(`/admin`))"
2023-02-03 17:01:35 +00:00
entryPoints: https
2023-02-07 13:05:12 +00:00
middlewares:
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:
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-04-06 08:56:26 +00:00
- url: "https://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:9090/admin/"
2023-02-15 13:01:28 +00:00
serversTransports:
nocertverify:
2023-04-06 08:56:26 +00:00
insecureSkipVerify: true