enable ACME on main domain

This commit is contained in:
2025-07-16 14:16:42 +07:00
parent 4e7dcebd93
commit 0510e56534

View File

@@ -1,3 +1,4 @@
{ config, ... }:
{ {
imports = [ imports = [
@@ -12,4 +13,9 @@
networking.fqdn = "b4l.co.th"; networking.fqdn = "b4l.co.th";
system.stateVersion = "25.11"; system.stateVersion = "25.11";
security.acme.defaults.email = "admin@b4l.co.th";
security.acme.acceptTerms = true;
services.nginx.virtualHosts."${config.networking.fqdn}" = {
enableACME = true;
};
} }