paritybit.ca

Files for paritybit.ca
Log | Files | Refs | README | LICENSE

commit 4c6fc3147c1de7f97f0847eed3026d27b104324d
parent 66d8fae240c05e8f0f457ed65b621e3ce12b0311
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Tue, 14 Mar 2023 18:47:24 -0400

*

Diffstat:
Mcontent/garden/openbsd-server.md | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/content/garden/openbsd-server.md b/content/garden/openbsd-server.md @@ -118,6 +118,13 @@ a TLS library available. For a site like mine, where user data is not being sent to the server, this is acceptable. Users are free to choose HTTPS and, in doing so, the HSTS header will ensure a modern browser keeps using HTTPS. +Additionally, the anything in my paste directory that at least 7 days old +will be automatically cleared with the following job in /etc/daily.local: + +``` +find /var/www/paritybit.ca/files/paste/ -type f -ctime 7 -delete +``` + ### Updating HTTP Server Content The following script re-compresses and changes ownership of website content