Added dynamic pages with dynamic linking during runtime

This commit is contained in:
Nate Choe
2022-02-14 12:08:09 -06:00
parent 8df741a078
commit 6825f12163
28 changed files with 435 additions and 84 deletions

View File

@@ -1,7 +1,10 @@
define port 8000
#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
@@ -10,7 +13,7 @@ throw /blog/forbidden 403
exec /blog/2022-1-31 site/blog/blog/2022-1-31.sh
read /blog/.* site/blog/
#/blog/2021-1-25.html turns into site/blog//blog/2021-1-25.html
exec /dynamic site/build-page.sh
linked /library
set host 127.0.0.1:8000
read / site/easteregg.html
read /egg.png site/egg.png