tweak srv

This commit is contained in:
root 2024-06-01 18:45:55 +02:00
parent 2475f17953
commit feadbd010b

View file

@ -3,10 +3,14 @@
{
services.nginx.enable = true;
# nginx runs under ProtectHome=true which disallows reading anywhere
# in /home. So we need to use a different location.
users.users."up" = {
isNormalUser = true;
home = /srv/up;
group = config.services.nginx.group;
createHome = true;
homeMode = "750";
};
services.nginx.virtualHosts."srv.isomorphis.me" = {