Add of pangolin client, fix roundcube and vaultwarden, refractor some bit
This commit is contained in:
parent
d4d7073344
commit
271115fc3a
7 changed files with 93 additions and 53 deletions
|
|
@ -20,14 +20,7 @@ lib.mkIf (config.networking.hostName == "ThinkCentre-Server-004") {
|
|||
'';
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
virtualHosts."${config.HostName}" = {
|
||||
listen = [
|
||||
{ addr = "0.0.0.0"; port = 1984; }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 1984 ];
|
||||
systemd.services.nginx.serviceConfig.ProtectHome = false;
|
||||
users.groups.roundcube.members = [ "nginx" ];
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue