From bbc1fa132e8975385a3eb2a770bbad2654ba0cfa Mon Sep 17 00:00:00 2001 From: Talyx Date: Thu, 10 Feb 2022 22:10:24 +0300 Subject: [PATCH] change: config setting --- config/real.toml | 5 ++--- config/tester.toml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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/"