nix/modules/services/nginx/default.nix

13 lines
245 B
Nix
Raw Normal View History

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