2023-02-03 17:01:35 +00:00
|
|
|
http:
|
|
|
|
routers:
|
|
|
|
cockpit:
|
2023-02-15 13:00:52 +00:00
|
|
|
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:
|
2023-02-15 13:00:52 +00:00
|
|
|
- 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"
|