add: besmart and tomato site in config

This commit is contained in:
Talyx
2022-02-24 18:10:17 +03:00
parent 4af179523f
commit 44a3065ea8

View File

@@ -44,14 +44,46 @@
[[server.location]] [[server.location]]
location = "/script" location = "/script"
redirect = ["301", "http://localhost:8080/cgi-bin/$request_file"] redirect = ["301", "http://localhost:8080/cgi-bin/$request_file"]
#start /tomato
[[server.location]] [[server.location]]
location = "*.jpeg" location = "/tomato/index.html"
root = "www/def/images/jpegImg" root = "www/def/tomato/index.html"
methods = ["GET"] methods = ["GET", "POST"]
[[server.location]] [[server.location]]
location = "*.png" location = "/tomato/about.html"
root = "www/def/images/pngImg" root = "www/def/tomato/about.html"
methods = ["GET"] methods = ["GET", "POST"]
[[server.location]]
location = "/tomato/blog_post.html"
root = "www/def/tomato/blog_post.html"
methods = ["GET", "POST"]
[[server.location]]
location = "/tomato/blog.html"
root = "www/def/tomato/blog.html"
methods = ["GET", "POST"]
[[server.location]]
location = "/tomato/contact.html"
root = "www/def/tomato/contact.html"
methods = ["GET", "POST"]
[[server.location]]
location = "/tomato/portfolio.html"
root = "www/def/tomato/portfolio.html"
methods = ["GET", "POST"]
[[server.location]]
location = "/tomato/css"
root = "www/def/tomato/css"
methods = ["GET", "POST"]
[[server.location]]
location = "/tomato/js"
root = "www/def/tomato/js"
methods = ["GET", "POST"]
[[server.location]]
location = "/tomato/images"
root = "www/def/tomato/images"
methods = ["GET", "POST"]
[[server.location]]
location = "/tomato"
redirect = ["301", "http://127.0.0.1:8080/tomato/index.html"]
[[server]] [[server]]
name = "pohek1.org" name = "pohek1.org"
host = "127.0.0.1" host = "127.0.0.1"
@@ -64,6 +96,7 @@
root = "www/def/" root = "www/def/"
methods = ["GET"] methods = ["GET"]
directory_file = "index.html" directory_file = "index.html"
# autoindex = true
[[server.location]] [[server.location]]
location = "/cgi-bin" location = "/cgi-bin"
root = "www/def/script" root = "www/def/script"