Files
webserv/config/tester.toml
2022-02-15 20:49:09 +03:00

31 lines
688 B
TOML

[[server]]
name = "pohek1.org"
host = "127.0.0.1"
port = 8080
body_size_limit = 100000000
[[server.location]]
location = "/"
root = "tester/"
methods = ["GET"]
autoindex = true
directory_file = "index.html"
[[server.location]]
location = "/put_test"
root = "tester/"
methods = ["PUT"]
autoindex = true
upload_dir = "tester/upload_here/"
[[server.location]]
location = "*.bla"
cgi_pass = "ubuntu_cgi_tester"
[[server.location]]
location = "/post_body"
root = "tester/"
methods = ["POST"]
body_size_limit = 100
[[server.location]]
location = "/directory"
methods = ["GET"]
root = "tester/YoupiBanane/"
directory_file = "youpi.bad_extension"