diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2024-10-12 12:58:51 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2024-10-12 12:58:51 -0500 |
commit | 0ea877c5d0de10b45768da80c658785835d625e6 (patch) | |
tree | 38a5c6209e2063753f43e037e93a7e381bde16dd /config.toml | |
parent | 859fd855e1a819280931ffbb6ae98098b2774269 (diff) |
fix: preserve configured service order
Diffstat (limited to 'config.toml')
-rw-r--r-- | config.toml | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/config.toml b/config.toml index 00a0866..555502f 100644 --- a/config.toml +++ b/config.toml @@ -1,7 +1,14 @@ serve_dir = "assets" address = "127.0.0.1:8080" -[services] -"tobyvin.dev" = { url = "https://tobyvin.dev" } -test_cmd = { command = "stat", args = ["/tmp/test_file"] } -dns = { address = "10.42.0.1:53" } +[[services]] +name = "tobyvin.dev" +http = { url = "https://tobyvin.dev" } + +[[services]] +name = "test_cmd" +exec = { command = "stat", args = ["/tmp/test_file"] } + +[[services]] +name = "dns" +tcp = { address = "10.42.0.1:53" } |