diff --git a/config/real.toml b/config/real.toml index 1b90b3e..a38df35 100644 --- a/config/real.toml +++ b/config/real.toml @@ -2,9 +2,8 @@ name = "pohek1.org" host = "127.0.0.1" port = 8080 - body_size_limit = 1000 + body_size_limit = 10000000 [server.error_page] - 404 = "www/errorFolder/error_404.html" 403 = "www/errorFolder/index2.html" [[server.location]] location = "/" @@ -40,7 +39,7 @@ [[server.location]] location = "/errorFolder" root = "www/errorFolder" - methods = ["GET", "POST", "DELETE"] + methods = ["GET", "POST"] autoindex = false [[server.location]] location = "*.php" diff --git a/config/tester.toml b/config/tester.toml index 2ab8615..ad00edc 100644 --- a/config/tester.toml +++ b/config/tester.toml @@ -16,7 +16,7 @@ upload_dir = "www/tester/upload_here/" [[server.location]] location = "*.bla" - cgi_pass = "~/.local/bin/cgi-test" + cgi_pass = "/usr/bin/php-cgi" [[server.location]] location = "/post_body" root = "www/tester/"