add: $request_file

This commit is contained in:
Talyx
2022-02-20 20:00:03 +03:00
parent 4f0173ea08
commit 9fbb6cf91b
4 changed files with 33 additions and 16 deletions

View File

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