From f57db261a11c758a500a1af208d894ad5079f2cd Mon Sep 17 00:00:00 2001 From: adjoly Date: Mon, 14 Apr 2025 12:10:38 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=8F=97=EF=B8=8F=E3=80=8D=20wip:?= =?UTF-8?q?=20proposing=20new=20config=20to=20match=20subject?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exemples/test.toml | 14 ++++++++++++++ lib/tomlpp | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/exemples/test.toml b/exemples/test.toml index 777ed4b..9f72c8d 100644 --- a/exemples/test.toml +++ b/exemples/test.toml @@ -22,3 +22,17 @@ cgi.go = "/bin/go" [server.location./redir] redirect = "https://kanel.ovh" + +[server1] +server_names = { "ptnnnn.local"} +host = "0.0.0.0" +port = 90 + +[server1.error_pages] +404 = "existepasfd***.html" + +[server1.location./] +methods = { "GET", "DELETE" } +root = "/var/lib/docker/volumes/test_data/_data" +dirlist = false +cgi.py = "/bin/python" diff --git a/lib/tomlpp b/lib/tomlpp index d9e5070..9926aa1 160000 --- a/lib/tomlpp +++ b/lib/tomlpp @@ -1 +1 @@ -Subproject commit d9e507093a3b37d35d5115d766e6d81044cacb00 +Subproject commit 9926aa1530c08923d092df755fd5c876e56a409c