diff --git a/roles/installer/templates/config.yaml.j2 b/roles/installer/templates/config.yaml.j2 index e94b86c4..6a2e7024 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