From 8b3a297086abb3eb3115b04b479f92a6cd7edc0c Mon Sep 17 00:00:00 2001 From: Roger Sikorski Date: Wed, 1 Jun 2022 16:31:12 +0200 Subject: [PATCH] enable ipv6 on nginx --- roles/installer/templates/config.yaml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/installer/templates/config.yaml.j2 b/roles/installer/templates/config.yaml.j2 index e94b86c47..6a2e70244 100644 --- a/roles/installer/templates/config.yaml.j2 +++ b/roles/installer/templates/config.yaml.j2 @@ -145,6 +145,7 @@ data: {% if route_tls_termination_mechanism | lower == 'passthrough' %} server { listen 8052 default_server; + listen [::]:8052 default_server; server_name _; # Redirect all HTTP links to the matching HTTPS page @@ -155,6 +156,7 @@ data: server { {% if route_tls_termination_mechanism | lower == 'passthrough' %} listen 8053 ssl; + listen [::]:8053 ssl; ssl_certificate /etc/nginx/pki/web.crt; ssl_certificate_key /etc/nginx/pki/web.key; @@ -165,6 +167,7 @@ data: ssl_prefer_server_ciphers on; {% else %} listen 8052 default_server; + listen [::]:8052 default_server; {% endif %} # If you have a domain name, this is where to add it