mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 21:07:59 +03:00
feat: add new values
This commit is contained in:
@@ -1,19 +1,22 @@
|
||||
[[server]]
|
||||
name = "jopaserver"
|
||||
port = 8080
|
||||
host = "127.0.0.1"
|
||||
port = 8080
|
||||
error_page = "error.html"
|
||||
body_size_limit = 10
|
||||
[[location]]
|
||||
location = "/"
|
||||
# redirection ???
|
||||
root = "/var/www/html/jopa.html"
|
||||
methods = ["GET", "POST"]
|
||||
directory_list = true
|
||||
directory_fallback = "its_a_directory.html"
|
||||
upload_accept = true
|
||||
upload_dir = "/var/www/html/upload"
|
||||
|
||||
[[location]]
|
||||
location = "/secret/"
|
||||
root = "/var/www/html/secret.html"
|
||||
methods = ["GET"]
|
||||
directory_list = false
|
||||
directory_fallback = "oops.html"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user