commented ACME LetsEncrypt until domain is set up to point at server
This commit is contained in:
parent
fcb241ec10
commit
56ec8b861f
|
@ -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";
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
|
|
@ -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}";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue