Change routing to use subdomains

This commit is contained in:
2025-04-29 20:14:58 +10:00
parent c158757661
commit aab7efb5c3
5 changed files with 69 additions and 38 deletions

View File

@@ -12,9 +12,7 @@ job "hello-world" {
tags = [
"traefik.enable=true",
"traefik.http.routers.hello.rule=PathPrefix(`/hello`)",
"traefik.http.middlewares.strip-hello.stripPrefix.prefixes=/hello",
"traefik.http.routers.hello.middlewares=strip-hello",
"traefik.http.routers.hello.rule=Host(`hello.othrayte.one`)",
]
check {