From b5bcd89a7c2270f5e5b6fbcc8acf321dc5ea6395 Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Thu, 8 Dec 2022 11:49:44 +0100 Subject: [PATCH 1/3] add IPv6 Support for NGINX reverse proxy --- Reverse-Proxy.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Reverse-Proxy.md b/Reverse-Proxy.md index 832b951..e9b2a4e 100644 --- a/Reverse-Proxy.md +++ b/Reverse-Proxy.md @@ -26,6 +26,7 @@ With SSL: ```nginx server { listen 443 ssl http2; + listen [::]:443 ssl http2; server_name sub.domain.com; ssl_certificate /path/to/ssl/cert/crt; ssl_certificate_key /path/to/ssl/key/key; @@ -46,6 +47,7 @@ Without SSL: ```nginx server { listen 80; + listen [::]:80; server_name sub.domain.com; location / { proxy_pass http://localhost:3001; From 637a82bf7ce1fa8a1958c89976980c8d38b0a34a Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Thu, 8 Dec 2022 12:33:19 +0100 Subject: [PATCH 2/3] add IPv6 Support for NGINX reverse proxy --- Reverse-Proxy.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Reverse-Proxy.md b/Reverse-Proxy.md index e9b2a4e..ceb30bf 100644 --- a/Reverse-Proxy.md +++ b/Reverse-Proxy.md @@ -26,7 +26,7 @@ With SSL: ```nginx server { listen 443 ssl http2; - listen [::]:443 ssl http2; + #listen [::]:443 ssl http2; server_name sub.domain.com; ssl_certificate /path/to/ssl/cert/crt; ssl_certificate_key /path/to/ssl/key/key; @@ -47,7 +47,7 @@ Without SSL: ```nginx server { listen 80; - listen [::]:80; + #listen [::]:80; server_name sub.domain.com; location / { proxy_pass http://localhost:3001; From 24f0fd299b975efaaa5f4f007f987961bd15f843 Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Thu, 8 Dec 2022 12:35:21 +0100 Subject: [PATCH 3/3] add IPv6 Support for NGINX reverse proxy --- Reverse-Proxy.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Reverse-Proxy.md b/Reverse-Proxy.md index ceb30bf..e2da821 100644 --- a/Reverse-Proxy.md +++ b/Reverse-Proxy.md @@ -26,7 +26,8 @@ With SSL: ```nginx server { listen 443 ssl http2; - #listen [::]:443 ssl http2; + # Remove '#' in the next line to enable IPv6 + # listen [::]:443 ssl http2; server_name sub.domain.com; ssl_certificate /path/to/ssl/cert/crt; ssl_certificate_key /path/to/ssl/key/key; @@ -47,7 +48,8 @@ Without SSL: ```nginx server { listen 80; - #listen [::]:80; + # Remove '#' in the next line to enable IPv6 + # listen [::]:80; server_name sub.domain.com; location / { proxy_pass http://localhost:3001;