Skip to content

Commit

Permalink
Merge pull request #950 from basecom/feature/nginx-ipv6-support
Browse files Browse the repository at this point in the history
Enable ipv6 listening in nginx config
  • Loading branch information
shanemcd authored Jun 23, 2022
2 parents e966e92 + 8b3a297 commit fa9eb53
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/installer/templates/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit fa9eb53

Please sign in to comment.