commented ACME LetsEncrypt until domain is set up to point at server

This commit is contained in:
Snorre 2025-03-03 16:15:04 +01:00
parent fcb241ec10
commit 56ec8b861f
2 changed files with 9 additions and 8 deletions

View file

@ -22,10 +22,11 @@
interface = "enp2s0"; interface = "enp2s0";
}; };
security.acme = { # Uncomment when domain is set up
acceptTerms = true; # security.acme = {
certs = { # acceptTerms = true;
defaults.email = "admin@spoodythe.one"; # certs = {
}; # defaults.email = "admin@spoodythe.one";
}; # };
# };
} }

View file

@ -41,8 +41,8 @@ in
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts."media.spoodythe.one" = { virtualHosts."media.spoodythe.one" = {
addSSL = true; # addSSL = true;
enableACME = true; # enableACME = true;
locations."/" = { locations."/" = {
proxyPass = "http://${host}:${toString port}"; proxyPass = "http://${host}:${toString port}";
}; };