rexxar: add userdir for samw

This commit is contained in:
Luke Granger-Brown 2024-12-01 11:17:38 +00:00
parent 16324cdcf8
commit 73d36d54cd

View file

@ -526,10 +526,20 @@
reverse_proxy unix//run/seaweedfs-filer/s3.sock
'';
};
virtualHosts."rexxar.as205479.net" = {
extraConfig = ''
handle_path /~samw/* {
root /home/samw/public_html
file_server browse
}
'';
};
};
systemd.services.caddy.serviceConfig = {
SupplementaryGroups = lib.mkAfter [ "acme" ];
ProtectHome = lib.mkForce "tmpfs";
ReadOnlyPaths = lib.mkAfter [ "/var/lib/acme" ];
BindReadOnlyPaths = lib.mkAfter [ "/home/samw/public_html" ];
};
my.fup.listen = [];