Merge pull request #2 from KeyZox71/exampleConf

「🎉」 init(config file): added config file example
This commit is contained in:
Adam authored and GitHub committed 2025-03-18 17:08:00 +01:00
commit 4b00173fcf
3 files changed
+25

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
[submodule "lib/tomlpp"]
path = lib/tomlpp
url = https://github.com/keyzox71/tomlpp
+21
View File
@@ -0,0 +1,21 @@
[server]
server_names = { "localhost", "2B5.local" } # can be a array or a str
port = { 8080, 8090 } # can be a array or a int
root = "/nfs/adjoly/workspace/kanel.ovh"
max_post_size = "10M"
cookies = true
uploads = false
dirlist = true
methods = {"GET", "POST", "DELETE"}
index = "index.html"
[server.error_page]
404 = "not_found.html"
401 = "unauthorized.html"
402 = "uwu.html"
[server.cgi]
py = "/usr/bin/python3"
Submodule
+1
Submodule lib/tomlpp added at 05777d656d.