This commit is contained in:
Talyx
2022-02-20 15:23:09 +03:00
parent 0f74c88af6
commit 25bb151e74
28 changed files with 0 additions and 16028 deletions

View File

@@ -1,46 +0,0 @@
[[server]]
name = ["jopa.com", "popa.org"]
host = "127.0.0.1"
port = 8080
body_size_limit = 10
[server.error_page]
400 = "error_400.html"
401 = "error_401.html"
[[server.location]]
redirect = ["301", "http://localhost/secret"]
location = "/"
root = "/var/www/html/"
methods = ["GET", "POST"]
autoindex = true
directory_file = "its_a_directory.html"
upload_accept = true
upload_dir = "/var/www/html/upload"
[[server.location]]
location = "/secret"
root = "/var/www/html/secret.html"
methods = ["GET"]
autoindex = false
directory_file = "oops.html"
[[server]]
name = "2222"
ip = "10.0.0.1"
port = 8081
body_size_limit = 10
[[server.location]]
location = "/root2/"
# redirection ???
root = "/var/www/html/jopa.html"
methods = ["GET", "POST"]
autoindex = true
directory_file = "its_a_directory.html"
upload_accept = false
upload_dir = "/var/www/html/upload"
[[server.location]]
location = "/secret2/"
root = "/var/www/html/secret.html"
methods = ["GET"]
autoindex = false
directory_file = "oops.html"

View File

@@ -1,40 +0,0 @@
[[server]]
name = "serv1"
host = "127.0.0.1"
port = 8080
body_size_limit = 10
[server.error_page]
404 = "error_404.html"
[[server.location]]
location = "/"
root = "/var/www/html/jopa.html"
redirect = ["301", "http://localhost/secret"]
methods = ["GET", "POST"]
autoindex = true
directory_file = "its_a_directory.html"
upload_accept = true
upload_dir = "/var/www/html/upload"
[[server.location]]
location = "/secret/"
root = "/var/www/html/secret.html"
methods = ["GET"]
autoindex = false
directory_file = "oops.html"
[[server]]
name = "2222"
host = "10.0.0.1"
port = 8081
body_size_limit = 10
[server.error_page]
404 = "error_404.html"
405 = "error_405.html"
406 = "error_406.html"
407 = "error_407.html"
[[server.location]]
location = "/root2/"
root = "/var/www/html/jopa.html"
methods = ["GET", "POST"]
autoindex = true
directory_file = "its_a_directory.html"
upload_accept = false
upload_dir = "/var/www/html/upload"

View File

@@ -1,70 +0,0 @@
[[server]]
name = "Edu"
host = "127.0.0.1"
port = 8080
body_size_limit = 100000
[server.error_page]
400 = "/var/www/poheck/Edu/errorPages/error_400.html"
403 = "/var/www/poheck/Edu/errorPages/error_403.html"
404 = "/var/www/poheck/Edu/errorPages/error_404.html"
[[server.location]]
location = "/"
root = "/var/www/poheck/Edu/"
methods = ["GET"]
autoindex = false
directory_file = "index.html"
[[server.location]]
location = "/errorlist"
root = "/var/www/poheck/Edu/errorPages/"
methods = ["GET"]
autoindex = false
directory_file = "this.html"
[[server.location]]
location = "/images"
root = "/var/www/poheck/Edu/images/"
methods = ["GET", "POST", "DELETE"]
autoindex = true
directory_file = "oops.html"
[[server.location]]
location = "/cats"
root = "/var/www/poheck/Edu/images/cats/"
methods = ["GET", "POST", "DELETE"]
autoindex = true
[[server.location]]
location = "/dogs"
root = "/var/www/poheck/Edu/images/dogs/"
methods = ["GET", "POST", "DELETE"]
autoindex = true
[[server.location]]
location = "/docs"
root = "/var/www/poheck/Edu/docs/"
redirect = ["301","http::/127.0.0.1::8080/documents"]
[[server.location]]
location = "/documents"
root = "/var/www/poheck/Edu/documents/"
methods = ["GET", "DELETE"]
autoindex = true
upload_accept = true
upload_dir = "/var/www/poheck/Edu/upload/"
[[server.location]]
location = "/upload"
root = "/var/www/poheck/Edu/upload/"
methods = ["POST", "DELETE"]
autoindex = true
upload_accept = true
upload_dir = "/var/www/poheck/Edu/upload/"
[[server]]
name = "2222"
host = "localhost"
port = 8081
body_size_limit = 65356
[server.error_page]
404 = "/var/www/poheck/errorPages/error_404.html"
[[server.location]]
location = "/root2/"
root = "/var/www/html/jopa.html"
methods = ["GET", "POST"]
autoindex = true
directory_file = "its_a_directory.html"
upload_accept = false
upload_dir = "/var/www/html/upload"