rexxar: add userdir for samw
This commit is contained in:
parent
16324cdcf8
commit
73d36d54cd
1 changed files with 10 additions and 0 deletions
|
@ -526,10 +526,20 @@
|
||||||
reverse_proxy unix//run/seaweedfs-filer/s3.sock
|
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 = {
|
systemd.services.caddy.serviceConfig = {
|
||||||
SupplementaryGroups = lib.mkAfter [ "acme" ];
|
SupplementaryGroups = lib.mkAfter [ "acme" ];
|
||||||
|
ProtectHome = lib.mkForce "tmpfs";
|
||||||
ReadOnlyPaths = lib.mkAfter [ "/var/lib/acme" ];
|
ReadOnlyPaths = lib.mkAfter [ "/var/lib/acme" ];
|
||||||
|
BindReadOnlyPaths = lib.mkAfter [ "/home/samw/public_html" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
my.fup.listen = [];
|
my.fup.listen = [];
|
||||||
|
|
Loading…
Reference in a new issue