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"