Update README with TSL cert renewal instructions

This commit is contained in:
2026-03-06 13:42:34 -08:00
parent b735a6e124
commit b83df70e21

View File

@@ -96,6 +96,34 @@ SSH into server admin account and run:
$ cd www
$ dehydrated --config config -c
Then restart the OpenResty service:
$ sudo service openresty restart
#### automate TSL cert renewal
##### renew TSL certs
Open crontab:
$ crontab -e
Add the following line, then save and exit:
19 4 1 * * /usr/bin/dehydrated --config /var/www/config --cron >/dev/null 2>&1
##### restart service
Open root's crontab:
$ sudo crontab -e
Add the following line:
@monthly /usr/bin/systemctl restart openresty.service
Save and exit.
## gotchas
### What is error `cosmo failed: [string "..."]:62: cannot resume dead coroutine`?
@@ -119,3 +147,11 @@ Delete your `.sitegen_cache` file.
* use sitecache with pandoc renderer
* draft documents
* treesitter highlighting for moonscript
## todo
* destroy a target ship by shooting them with the cannon
* make corners not bouncy (leave them bouncy for now?)
* wall entities
* ship-ship collision
* make ssh command?