Acme
This commit is contained in:
parent
e3e756c854
commit
9d27bdcf8a
|
|
@ -82,11 +82,13 @@
|
|||
|
||||
services.nginx.virtualHosts."git.blubb.fish" = {
|
||||
addSSL = true;
|
||||
sslCertificate = /cert/git.blubb.fish/cert.pem;
|
||||
sslCertificateKey = /cert/git.blubb.fish/key.pem;
|
||||
sslTrustedCertificate = /cert/git.blubb.fish/fullchain.pem;
|
||||
enableACME = true;
|
||||
locations."/".proxyPass = "http://10.0.0.24:3000/";
|
||||
};
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "gentoo@blubb.fish";
|
||||
};
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
|
|
|||
Loading…
Reference in New Issue