mirror of
https://github.com/KeyZox71/webserv.git
synced 2025-10-14 02:44:45 +02:00
16 lines
299 B
TOML
16 lines
299 B
TOML
[server]
|
|
host = "0.0.0.0"
|
|
port = 2727
|
|
|
|
[server.location./]
|
|
root = "./exemples/webpage"
|
|
upload_path = "/home/mmoussou/test"
|
|
dirlist = true
|
|
methods = { "GET", "POST", "DELETE" }
|
|
cgi = { ".py"}
|
|
|
|
[server.error_pages]
|
|
401 = "unauthorized.html"
|
|
402 = "uwu.html"
|
|
404 = "exemples/err_pages/not_found.html"
|