1
0
Fork 0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2024-05-20 06:26:08 +02:00

Merge pull request #2239 from nginx-proxy/fix-rfc-5746

fix: always on session cache on HTTPS fallback listener
This commit is contained in:
Richard Hansen 2023-05-11 00:43:24 -04:00 committed by GitHub
commit 068bf91e83
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -422,11 +422,11 @@ server {
{{- if $globals.enable_ipv6 }}
listen [::]:{{ $globals.external_https_port }} ssl http2; {{- /* Do not add `default_server` (see comment above). */}}
{{- end }}
ssl_session_cache shared:SSL:50m;
ssl_session_tickets off;
{{- end }}
{{ $globals.access_log }}
{{- if $globals.default_cert_ok }}
ssl_session_cache shared:SSL:50m;
ssl_session_tickets off;
ssl_certificate /etc/nginx/certs/default.crt;
ssl_certificate_key /etc/nginx/certs/default.key;
{{- else }}