squid vm test: the web node's nginx serves its certificate with addSSL
This commit is contained in:
parent
891a1cd5b1
commit
70a8ef77a7
1 changed files with 3 additions and 0 deletions
|
|
@ -276,6 +276,9 @@ pkgs.testers.runNixOSTest {
|
|||
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";
|
||||
sslCertificateKey = "${webCert}/key.pem";
|
||||
locations."/".return = "200 web-ok";
|
||||
|
|
|
|||
Loading…
Reference in a new issue