https in web demo

This commit is contained in:
Stefano D'Angelo 2024-01-20 07:06:21 +01:00
parent b6ec69fdca
commit 1102d9f186
2 changed files with 6 additions and 2 deletions

1
TODO
View File

@ -1,4 +1,3 @@
* https
* mod wheel
* recursive object merge in tibia

View File

@ -1,4 +1,9 @@
ALL += build/index.html
ALL += build/index.html build/cert.pem build/key.pem
build/index.html: src/index.html | build
cp $^ $@
build/key.pem: build/cert.pem
build/cert.pem: | build
yes "" | openssl req -x509 -newkey rsa:2048 -keyout build/key.pem -out build/cert.pem -days 365 -nodes 2>/dev/null