Config loader

This commit is contained in:
2024-01-13 14:46:26 +08:00
parent bf7004c89c
commit 5de1d13907
9 changed files with 182 additions and 27 deletions

9
regions/index.toml Normal file
View File

@@ -0,0 +1,9 @@
id = "index"
[[locations]]
id = "root"
hosts = ["localhost"]
paths = ["/"]
[[locations.destinations]]
id = "example"
uri = "https://example.com"