modernize nginx configurations accross all hosts
Move to the TLSRef configuration generators Intermediate configuration profile as of 2026-12-04 with HSTS on and OCSP Stapling off. https://configurator.tlsref.org/#server=nginx&version=1.27.3&config=intermediate&openssl=4.0.1&hsts&guideline=6.0 Adjust the nginx roles tls.conf accordingly, modernize the hosts configs use of http2 and remove statements previously used because of OCSP stapling (ssl_trusted_certificate and resolver). Don't do OCSP stapling anymore, since it's deprecated. https://letsencrypt.org/2024/12/05/ending-ocsp
This commit is contained in:
parent
f25a49a094
commit
18f8ae3e7c
1 changed files with 67 additions and 118 deletions
|
|
@ -9,8 +9,6 @@ server {
|
|||
|
||||
ssl_certificate /etc/letsencrypt/live/light-werkstatt.ccchh.net/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/light-werkstatt.ccchh.net/privkey.pem;
|
||||
# verify chain of trust of OCSP response using Root CA and Intermediate certs
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/light-werkstatt.ccchh.net/chain.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8081;
|
||||
|
|
@ -31,8 +29,6 @@ server {
|
|||
|
||||
ssl_certificate /etc/letsencrypt/live/light.ccchh.net/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/light.ccchh.net/privkey.pem;
|
||||
# verify chain of trust of OCSP response using Root CA and Intermediate certs
|
||||
ssl_trusted_certificate /etc/letsencrypt/live/light.ccchh.net/chain.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
|
|
|
|||
Loading…
Reference in a new issue