nix/modules/services/nginx/default.nix
2024-11-03 12:33:02 +01:00

13 lines
245 B
Nix

{
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";
};
}