Merge pull request #107392 from johngmyers/ipv6-echoserver

Support IPv6 in echoserver
This commit is contained in:
Kubernetes Prow Robot 2022-01-06 18:50:35 -08:00 committed by GitHub
commit 595bc88f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -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.

View File

@ -1 +1 @@
2.4
2.5

View File

@ -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;