Merge pull request #133 from wi11-holdsworth/101

feat(fi33.buzz): host personal website
This commit is contained in:
Will 2026-03-07 14:34:48 +11:00 committed by GitHub
commit e71dd7e87d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 0 deletions

View file

@ -10,6 +10,7 @@
"copyparty"
"couchdb"
"cryptpad"
"fi33.buzz"
"gatus"
"homepage-dashboard"
"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
}
'';
};
}