nixos/config/hosts/capetillo/services/nginx.nix
Emelie Graven e5e4d3688c
Add capetillo
Added the hetzner VPS capetillo and enabled nginx,
simple-nixos-mailserver and backups.
2021-11-22 14:00:07 +01:00

16 lines
312 B
Nix

{
imports = [ ../../../common/services/nginx.nix ];
services.nginx.virtualHosts = {
"nixaalb.org" = {
enableACME = true;
forceSSL = true;
root = "/var/www/nixaalb.org/public";
};
"mta-sts.nixaalb.org" = {
enableACME = true;
forceSSL = true;
root = "/var/www/mta-sts/public";
};
};
}