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";
};
security.acme = {
acceptTerms = true;
certs = {
defaults.email = "admin@spoodythe.one";
};
};
# Uncomment when domain is set up
# security.acme = {
# acceptTerms = true;
# certs = {
# defaults.email = "admin@spoodythe.one";
# };
# };
}

View file

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