diff --git a/containers/drone-runner/tasks.yml b/containers/drone-runner/tasks.yml index 0b67845..f5899f9 100644 --- a/containers/drone-runner/tasks.yml +++ b/containers/drone-runner/tasks.yml @@ -50,11 +50,12 @@ io.containers.autoupdate: "registry" traefik.enable: "true" traefik.http.routers.drone-runner.entrypoints: "https" - traefik.http.routers.drone-runner.rule: "PathPrefix(`/drone-runner`)" + traefik.http.routers.drone-runner.rule: "PathPrefix(`/runner`)" traefik.http.routers.drone-runner.tls: "true" traefik.http.routers.drone-runner.tls.certresolver: "wildcard" traefik.http.routers.drone-runner.service: "drone-runner" - traefik.http.routers.drone-runner.middlewares: "authelia@file" + traefik.http.routers.drone-runner.middlewares: "drone-runner-prefixstrip@docker" + traefik.http.middlewares.drone-runner-prefixstrip.stripprefix.prefixes: "/runner" traefik.http.services.drone-runner.loadbalancer.server.port: "3000" traefik.docker.network: "traefik-drone-runner" env: diff --git a/containers/drone-server/tasks.yml b/containers/drone-server/tasks.yml index f51f137..49b4f4d 100644 --- a/containers/drone-server/tasks.yml +++ b/containers/drone-server/tasks.yml @@ -52,7 +52,8 @@ traefik.http.routers.drone-server.tls: "true" traefik.http.routers.drone-server.tls.certresolver: "wildcard" traefik.http.routers.drone-server.service: "drone-server" - traefik.http.routers.drone-server.middlewares: "authelia@file" + traefik.http.routers.drone-server.middlewares: "drone-server-prefixstrip@docker" + traefik.http.middlewares.drone-server-prefixstrip.stripprefix.prefixes: "/drone" traefik.http.services.drone-server.loadbalancer.server.port: "80" traefik.docker.network: "traefik-drone" env: