Added docker-compose file

This commit is contained in:
Nate Choe
2022-04-11 01:56:49 -05:00
parent 8914e57eec
commit 0a177b6d91
19 changed files with 34 additions and 27 deletions

View File

@@ -1,4 +1,20 @@
define transport TCP
define port 8000
read .* /site/
#define transport TLS
define key domain.key
define cert domain.crt
define timeout 2000
define library ./library.so
set host localhost:8000
read / site/index.html
read /hello site/hello.html
throw /blog/forbidden 403
read /blog/.* site/blog/
#/blog/2021-1-25.html turns into site/blog//blog/2021-1-25.html
linked /library
set host 127.0.0.1:8000
read / site/easteregg.html
read /egg.png site/egg.png
set host .*
read /alldomains site/alldomains.html