Update traefik container configuration
This commit is contained in:
@@ -3,12 +3,20 @@ http:
|
||||
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://{{ ansible_host }}:9090"
|
||||
- url: "http://127.0.0.1:9090"
|
||||
|
||||
Reference in New Issue
Block a user