roles/nginx: Don't send OCSP responses for hosts using self-signed certs
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
cd65475d0d
commit
d08a37526f
@ -14,10 +14,13 @@
|
||||
ssl_ciphers "{{ tls_cipher_suite }}";
|
||||
ssl_prefer_server_ciphers on;
|
||||
|
||||
{# don't use OCSP stapling if we're using a self-signed cert #}
|
||||
{% if tls_cert is defined %}
|
||||
# OCSP stapling...
|
||||
ssl_stapling on;
|
||||
ssl_stapling_verify on;
|
||||
resolver 8.8.4.4 8.8.8.8;
|
||||
{% endif %}
|
||||
|
||||
# nginx does not auto-rotate session ticket keys: only a HUP / restart will do so and
|
||||
# when a restart is performed the previous key is lost, which resets all previous
|
||||
|
Loading…
Reference in New Issue
Block a user