mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Support IPv6 in echoserver
This commit is contained in:
		@@ -2,6 +2,7 @@
 | 
			
		||||
 | 
			
		||||
This is a simple server that responds with the http headers it received.
 | 
			
		||||
 | 
			
		||||
Image versions >= 2.5 support IPv6.
 | 
			
		||||
Image Versions >= 1.10 support HTTP2 on :8443.
 | 
			
		||||
Image Versions >= 1.9 expose HTTPS endpoint on :8443.
 | 
			
		||||
Image versions >= 1.4 removes the redirect introduced in 1.3.
 | 
			
		||||
 
 | 
			
		||||
@@ -1 +1 @@
 | 
			
		||||
2.4
 | 
			
		||||
2.5
 | 
			
		||||
 
 | 
			
		||||
@@ -72,7 +72,9 @@ Request Body:
 | 
			
		||||
		# basically instructs to create an individual listening socket for each worker process (using the SO_REUSEPORT
 | 
			
		||||
		# socket option), allowing a kernel to distribute incoming connections between worker processes.
 | 
			
		||||
		listen 8080 default_server reuseport;
 | 
			
		||||
		listen [::]:8080 default_server reuseport;
 | 
			
		||||
		listen 8443 default_server ssl http2 reuseport;
 | 
			
		||||
		listen [::]:8443 default_server ssl http2 reuseport;
 | 
			
		||||
 | 
			
		||||
		ssl_certificate /certs/certificate.crt;
 | 
			
		||||
		ssl_certificate_key /certs/privateKey.key;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user