diff options
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" } |