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"
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"

View File

@@ -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/"