Remove course routes

This commit is contained in:
Mo 2023-09-21 01:32:59 +02:00
parent 5ff7a09702
commit 49356a6d5f

View file

@ -118,20 +118,6 @@ http:
to_comprehensive_rust:
rule: Host(`comprehensive-rust.mo8it.com`)
service: comprehensive_rust
to_collective_score:
rule: Host(`collective-score.mo8it.com`)
service: collective_score
to_collective_score_rust:
rule: Host(`collective-score-rust.mo8it.com`)
service: collective_score_rust
{{ $n_ttyds := 28 }}
{{ range $index, $num := until $n_ttyds }}
to_ttyd{{ $num }}:
rule: Host(`ttyd{{ $num }}.mo8it.com`)
service: ttyd{{ $num }}
tls:
certResolver: le
{{ end }}
services:
nginx:
@ -214,17 +200,3 @@ http:
loadBalancer:
servers:
- url: http://comprehensive-rust
collective_score:
loadBalancer:
servers:
- url: http://collective-score-server
collective_score_rust:
loadBalancer:
servers:
- url: http://collective-score-rust-server
{{ range $index, $num := until $n_ttyds }}
ttyd{{ $num }}:
loadBalancer:
servers:
- url: http://ttyd{{ $num }}:7681
{{ end }}