From f57db261a11c758a500a1af208d894ad5079f2cd Mon Sep 17 00:00:00 2001 From: adjoly Date: Mon, 14 Apr 2025 12:10:38 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=E3=80=8C=F0=9F=8F=97=EF=B8=8F=E3=80=8D=20w?= =?UTF-8?q?ip:=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 From ffa7ca24c7c567ca9916ed0bb105ca6b5a9c3428 Mon Sep 17 00:00:00 2001 From: adjoly Date: Mon, 14 Apr 2025 12:11:37 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20add?= =?UTF-8?q?ed=20logfile=20parameters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exemples/test.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exemples/test.toml b/exemples/test.toml index 9f72c8d..46b1b6d 100644 --- a/exemples/test.toml +++ b/exemples/test.toml @@ -1,3 +1,5 @@ +log_file = "test.log" + [server] server_names = { "localhost", "2B5.local" } host = "localhost"