fix location syntax

This commit is contained in:
3lswear
2022-01-13 09:24:36 +03:00
parent 2135c4e826
commit 7c6d0783f1

View File

@@ -4,7 +4,7 @@
port = 8080
error_page = "error.html"
body_size_limit = 10
[[location]]
[[server.location]]
location = "/"
# redirection ???
root = "/var/www/html/jopa.html"
@@ -14,7 +14,7 @@
upload_accept = true
upload_dir = "/var/www/html/upload"
[[location]]
[[server.location]]
location = "/secret/"
root = "/var/www/html/secret.html"
methods = ["GET"]