mirror of
				https://github.com/thib8956/nginx-proxy
				synced 2025-11-04 11:09:20 +00:00 
			
		
		
		
	Add ability to opt-out dh param auto generation
This commit is contained in:
		@@ -16,7 +16,8 @@ fi
 | 
			
		||||
 | 
			
		||||
# Generate dhparam file if required
 | 
			
		||||
# Note: if $DHPARAM_BITS is not defined, generate-dhparam.sh will use 2048 as a default
 | 
			
		||||
/app/generate-dhparam.sh $DHPARAM_BITS
 | 
			
		||||
# Note2: if $GENERATE_DHPARAM is set to false in environment variable, dh param generator will skip completely
 | 
			
		||||
/app/generate-dhparam.sh $DHPARAM_BITS $GENERATE_DHPARAM
 | 
			
		||||
 | 
			
		||||
# Compute the DNS resolvers for use in the templates
 | 
			
		||||
export RESOLVERS=$(awk '$1 == "nameserver" {print $2}' ORS=' ' /etc/resolv.conf | sed 's/ *$//g')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user