Stoat deployment

This commit is contained in:
Antonin Ruan
2026-02-12 20:40:39 +01:00
parent c258a1d09e
commit 8d435f9f30
11 changed files with 1901 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
:80 {
route /api* {
uri strip_prefix /api
reverse_proxy http://${stoat.api.name}:14702 {
header_down Location "^/" "/api/"
}
}
route /ws {
uri strip_prefix /ws
reverse_proxy http://${stoat.events.name}:14703 {
header_down Location "^/" "/ws/"
}
}
route /autumn* {
uri strip_prefix /autumn
reverse_proxy http://${stoat.autumn.name}:14704 {
header_down Location "^/" "/autumn/"
}
}
route /january* {
uri strip_prefix /january
reverse_proxy http://${stoat.january.name}:14705 {
header_down Location "^/" "/january/"
}
}
route /gifbox* {
uri strip_prefix /gifbox
reverse_proxy http://${stoat.gifbox.name}:14706 {
header_down Location "^/" "/gifbox/"
}
}
reverse_proxy http://${stoat.web.name}:80
}