nixVersions.stable: 2.15 -> 2.17
[NixPkgs.git] / nixos / tests / nginx-proxyprotocol / snakeoil-certs.nix
blob61af6351ca655870401831d37bd1a57ea02d9c17
1 let
2   domain = "*.test.nix";
3   domainSanitized = "_.test.nix";
4 in {
5   inherit domain;
6   ca = {
7     cert = ./ca.cert.pem;
8     key = ./ca.key.pem;
9   };
10   "${domain}" = {
11     cert = ./. + "/${domainSanitized}.cert.pem";
12     key = ./. + "/${domainSanitized}.key.pem";
13   };