Change routing to use subdomains
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user