feat(fi33.buzz): host personal website #133

Merged
wi11-holdsworth merged 1 commit from 101 into main 2026-03-07 14:34:48 +11:00
2 changed files with 20 additions and 0 deletions

View file

@ -10,6 +10,7 @@
"copyparty" "copyparty"
"couchdb" "couchdb"
"cryptpad" "cryptpad"
"fi33.buzz"
"gatus" "gatus"
"homepage-dashboard" "homepage-dashboard"
"immich" "immich"

View file

@ -0,0 +1,19 @@
let
certloc = "/var/lib/acme/fi33.buzz";
hostname = "www.fi33.buzz";
in
{
# TODO why can't I serve content on fi33.buzz? dns propagation issue?
services.caddy.virtualHosts = {
"fi33.buzz".extraConfig = ''
redir https://www.fi33.buzz{uri} permanent
'';
${hostname}.extraConfig = ''
root * /srv/fi33.buzz/public
file_server
tls ${certloc}/cert.pem ${certloc}/key.pem {
protocols tls1.3
}
'';
};
}