+ ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
+ ssl_ciphers <%= node[:ssl][:openssl_ciphers] -%>;
+ ssl_prefer_server_ciphers on;
+ ssl_session_cache shared:SSL:50m;
+ ssl_session_timeout 30m;
+
+ ssl_stapling on;
+
+ # Validate the stapling response is signed by a trusted certificate
+ ssl_stapling_verify on;
+ ssl_trusted_certificate /etc/ssl/certs/ca-certificates.crt;
+
+ ssl_dhparam /etc/ssl/certs/dhparam.pem;
+ resolver 127.0.0.53;
+ resolver_timeout 5s;
+