change: config setting

This commit is contained in:
Talyx
2022-02-10 22:10:24 +03:00
parent 7df7a3d802
commit bbc1fa132e
2 changed files with 3 additions and 4 deletions

View File

@@ -2,9 +2,8 @@
name = "pohek1.org" name = "pohek1.org"
host = "127.0.0.1" host = "127.0.0.1"
port = 8080 port = 8080
body_size_limit = 1000 body_size_limit = 10000000
[server.error_page] [server.error_page]
404 = "www/errorFolder/error_404.html"
403 = "www/errorFolder/index2.html" 403 = "www/errorFolder/index2.html"
[[server.location]] [[server.location]]
location = "/" location = "/"
@@ -40,7 +39,7 @@
[[server.location]] [[server.location]]
location = "/errorFolder" location = "/errorFolder"
root = "www/errorFolder" root = "www/errorFolder"
methods = ["GET", "POST", "DELETE"] methods = ["GET", "POST"]
autoindex = false autoindex = false
[[server.location]] [[server.location]]
location = "*.php" location = "*.php"

View File

@@ -16,7 +16,7 @@
upload_dir = "www/tester/upload_here/" upload_dir = "www/tester/upload_here/"
[[server.location]] [[server.location]]
location = "*.bla" location = "*.bla"
cgi_pass = "~/.local/bin/cgi-test" cgi_pass = "/usr/bin/php-cgi"
[[server.location]] [[server.location]]
location = "/post_body" location = "/post_body"
root = "www/tester/" root = "www/tester/"