fix(nginx): better handling of ssl_stapling

This commit is contained in:
Julien Malka 2024-10-26 04:18:59 +02:00
parent 4dd8292a5b
commit 1474c57bf5
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

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