l gsm-wiki: add c3gsm.de vhost

This commit is contained in:
lassulus 2023-09-03 12:06:05 +02:00
parent 2395c9c026
commit 48e371a597
1 changed files with 20 additions and 0 deletions

View File

@ -12,6 +12,14 @@
'';
};
services.nginx.virtualHosts."c3gsm.de" = {
forceSSL = true;
enableACME = true;
locations."/".extraConfig = ''
root /srv/http/c3gsm.de;
'';
};
users.users.c3gsm-docs = {
isNormalUser = true;
home = "/srv/http/docs.c3gsm.de";
@ -23,4 +31,16 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAlW1fvCrVXhVH/z76fXBWYR/qyecYTE9VOOkFLJ6OwG user@osmocom-dev"
];
};
users.users.c3gsm = {
isNormalUser = true;
home = "/srv/http/c3gsm.de";
createHome = true;
homeMode = "750";
useDefaultShell = true;
group = "nginx";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAlW1fvCrVXhVH/z76fXBWYR/qyecYTE9VOOkFLJ6OwG user@osmocom-dev"
];
};
}