This commit is contained in:
Tom 2024-08-07 19:47:44 +02:00
parent e3e756c854
commit 9d27bdcf8a
1 changed files with 5 additions and 3 deletions

View File

@ -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 ];