acme working
This commit is contained in:
parent
1d44a056b9
commit
8eee70e8ee
2 changed files with 9 additions and 10 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue