From e376193480b012eb56a791f0e5cb8220832b49da Mon Sep 17 00:00:00 2001 From: Oli Date: Tue, 1 Jul 2025 18:06:15 +0000 Subject: [PATCH] remove deprecated nginx config options This commit removes the Nginx configuration options related to OCSP stapling and OCSP Must-Staple. Let's Encrypt is discontinuing OCSP support in favor of CRLs (Certificate Revocation Lists) to improve privacy and simplify infrastructure. --- roles/nginx/templates/ssl.conf.j2 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/roles/nginx/templates/ssl.conf.j2 b/roles/nginx/templates/ssl.conf.j2 index 38c887a..b6049b1 100644 --- a/roles/nginx/templates/ssl.conf.j2 +++ b/roles/nginx/templates/ssl.conf.j2 @@ -6,12 +6,8 @@ ssl_prefer_server_ciphers off; ssl_early_data on; ssl_dhparam {{ nginx_ssl_dhparam }}; -# OCSP Stapling fetch OCSP records from URL in ssl_certificate and cache them - ssl_stapling on; - ssl_stapling_verify on; - resolver 1.1.1.1 1.0.0.1 [2606:4700:4700::1111] [2606:4700:4700::1001]; # SSL session handling ssl_session_cache shared:SSL:10m; ssl_session_timeout 1d; ssl_session_tickets off; - ssl_buffer_size 4k; \ No newline at end of file + ssl_buffer_size 4k;