mirror of
				https://github.com/thib8956/nginx-proxy
				synced 2025-11-04 02:59:20 +00:00 
			
		
		
		
	fix: always on session cache on HTTPS fallback listener
This commit is contained in:
		@@ -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 }}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user