Add ssl certificate

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-14 21:12:11 +01:00
parent 1020d9fb5a
commit 9a8441f74e
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -17,6 +17,8 @@ in
http2 = true;
http3 = true;
listenAddresses = listenIPs;
sslCertificate = "/var/lib/acme/int.chir.rs/cert.pem";
sslCertificateKey = "/var/lib/acme/int.chir.rs/key.pem";
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.grafana.port}";
proxyWebsockets = true;