wetty: set base path and add all the domains (#44)
This commit is contained in:
parent
51aa2f3e78
commit
3995bc5659
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,7 @@ job "wetty" {
|
||||||
|
|
||||||
tags = [
|
tags = [
|
||||||
"traefik.enable=true",
|
"traefik.enable=true",
|
||||||
"traefik.http.routers.wetty.rule=Host(`wetty.rb.dcu.ie`)",
|
"traefik.http.routers.wetty.rule=Host(`wetty.rb.dcu.ie`) || Host(`wetty.redbrick.dcu.ie`) || Host(`term.redbrick.dcu.ie`) || Host(`anyterm.redbrick.dcu.ie`) || Host(`ajaxterm.redbrick.dcu.ie`)",
|
||||||
"traefik.http.routers.wetty.entrypoints=web,websecure",
|
"traefik.http.routers.wetty.entrypoints=web,websecure",
|
||||||
"traefik.http.routers.wetty.tls.certresolver=lets-encrypt",
|
"traefik.http.routers.wetty.tls.certresolver=lets-encrypt",
|
||||||
]
|
]
|
||||||
|
@ -44,6 +44,7 @@ job "wetty" {
|
||||||
data = <<EOH
|
data = <<EOH
|
||||||
SSHHOST={{ key "wetty/ssh/host" }}
|
SSHHOST={{ key "wetty/ssh/host" }}
|
||||||
SSHPORT=22
|
SSHPORT=22
|
||||||
|
BASE=/
|
||||||
EOH
|
EOH
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue