acme working

This commit is contained in:
twoneis 2025-02-07 22:48:46 +01:00
parent 1d44a056b9
commit 8eee70e8ee
2 changed files with 9 additions and 10 deletions

View file

@ -14,6 +14,14 @@ in mkIf conf.nginx.enable {
email = "mira.cp.0909@gmail.com";
environmentFile = "/root/porkbun-creds";
};
"chpu.eu" = {
group = "nginx";
domain = "chpu.eu";
dnsProvider = "porkbun";
email = "mira.cp.0909@gmail.com";
environmentFile = "/root/porkbun-creds";
};
};
};
@ -21,16 +29,6 @@ in mkIf conf.nginx.enable {
services.nginx = {
enable = true;
virtualHosts = {
default = {
serverName = ".twoneis.site";
default = true;
rejectSSL = true;
locations."/" = {
return = "404";
};
};
};
};
networking.firewall.allowedTCPPorts = [