Watch
0
0
Fork
You've already forked hyperhive
0

squid vm test: the web node's nginx serves its certificate with addSSL

This commit is contained in:
atlas 2026-11-19 10:31:49 +01:00 • committed by mara
commit 70a8ef77a7

View file

@ -276,6 +276,9 @@ pkgs.testers.runNixOSTest {
port = 8443; port = 8443;
} }
]; ];
# nginx writes `ssl_certificate` only for a host with `addSSL`; the
# `listen` entries above already say which ports are TLS and which plain.
addSSL = true;
sslCertificate = "${webCert}/cert.pem"; sslCertificate = "${webCert}/cert.pem";
sslCertificateKey = "${webCert}/key.pem"; sslCertificateKey = "${webCert}/key.pem";
locations."/".return = "200 web-ok"; locations."/".return = "200 web-ok";