Improved regexes

This commit is contained in:
Nate Choe
2022-01-30 11:45:48 -06:00
parent bdac013f91
commit 5a6c38c680
7 changed files with 182 additions and 22 deletions

View File

@@ -4,9 +4,11 @@ define cert domain.crt
define timeout 2000
set host localhost:8000
read ^/$ site/index.html
read ^/hello$ site/hello.html
read ^/blog/.*$ site/blog/
read / site/index.html
read /hello site/hello.html
read /blog/.* site/blog/
#/blog/2021-1-25.html turns into site/blog//blog/2021-1-25.html
set host 127.0.0.1:8000
read ^/$ site/easteregg.html
read / site/easteregg.html
set host .*
read /alldomains site/alldomains.html