fix(nginx): better handling of ssl_stapling

This commit is contained in:
Luj 2024-10-26 04:18:59 +02:00
parent a3627e86b6
commit 66e22a751d

View file

@ -53,7 +53,8 @@ in
allow fd7a:115c:a1e0::/48;
deny all;
'';
extraConfig = ''
extraConfig = lib.mkIf (lib.hasSuffix "luj" name) ''
ssl_stapling off;
'';
@ -100,6 +101,7 @@ in
sslCertificate = "/var/lib/acme/default/cert.pem";
sslCertificateKey = "/var/lib/acme/default/key.pem";
extraConfig = ''
ssl_stapling off;
return 444;
'';
};