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";
|
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";
|
||||||
};
|
# };
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
@ -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}";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue