wetty: set base path and add all the domains (#44)

This commit is contained in:
wizzdom 2024-07-11 01:07:09 +01:00 committed by GitHub
parent 51aa2f3e78
commit 3995bc5659
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
} }
} }