nix/modules/services/nginx/default.nix

23 lines
504 B
Nix
Raw Normal View History

2024-11-03 12:33:02 +01:00
{
services.nginx = {
2024-11-04 13:00:43 +01:00
virtualHosts."xn--xck.xyz" = {
forceSSL = true;
enableACME = true;
root = "/var/www/www.joygnu.org";
};
virtualHosts."joygnu.org" = {
forceSSL = true;
enableACME = true;
root = "/var/www/www.joygnu.org";
};
2024-11-03 12:33:02 +01:00
virtualHosts."www.joygnu.org" = {
forceSSL = true;
enableACME = true;
root = "/var/www/www.joygnu.org";
};
};
security.acme.certs = {
"www.joygnu.org".email = "contact@joygnu.org";
};
}