diff --git a/config/example.toml b/config/example.toml index 779f903..4bbe5af 100644 --- a/config/example.toml +++ b/config/example.toml @@ -7,3 +7,13 @@ [[location]] location = "/" root = "/var/www/html/jopa.html" + methods = ["GET", "POST"] + directory_list = true + directory_fallback = "its_a_directory.html" + [[location]] + location = "/secret/" + root = "/var/www/html/secret.html" + methods = ["GET"] + directory_list = false + directory_fallback = "oops.html" +