fix: cgi exe

This commit is contained in:
Talyx
2022-02-15 20:49:09 +03:00
parent c21aae0b1d
commit f7f1793722
15 changed files with 79 additions and 41 deletions

View File

@@ -5,26 +5,26 @@
body_size_limit = 100000000
[[server.location]]
location = "/"
root = "www/tester/"
root = "tester/"
methods = ["GET"]
autoindex = true
directory_file = "index.html"
[[server.location]]
location = "/put_test"
root = "www/tester/"
root = "tester/"
methods = ["PUT"]
autoindex = true
upload_dir = "www/tester/upload_here/"
upload_dir = "tester/upload_here/"
[[server.location]]
location = "*.bla"
cgi_pass = "/usr/bin/php-cgi"
cgi_pass = "ubuntu_cgi_tester"
[[server.location]]
location = "/post_body"
root = "www/tester/"
root = "tester/"
methods = ["POST"]
body_size_limit = 100
[[server.location]]
location = "/directory"
methods = ["GET"]
root = "www/tester/YoupiBanane/"
root = "tester/YoupiBanane/"
directory_file = "youpi.bad_extension"