diff --git a/config/example.toml b/config/example.toml index 4bbe5af..f148367 100644 --- a/config/example.toml +++ b/config/example.toml @@ -1,19 +1,22 @@ [[server]] name = "jopaserver" - port = 8080 host = "127.0.0.1" + port = 8080 error_page = "error.html" body_size_limit = 10 [[location]] location = "/" + # redirection ??? root = "/var/www/html/jopa.html" methods = ["GET", "POST"] directory_list = true directory_fallback = "its_a_directory.html" + upload_accept = true + upload_dir = "/var/www/html/upload" + [[location]] location = "/secret/" root = "/var/www/html/secret.html" methods = ["GET"] directory_list = false directory_fallback = "oops.html" -