mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 14:22:49 +00:00
Merge pull request #950 from basecom/feature/nginx-ipv6-support
Enable ipv6 listening in nginx config
This commit is contained in:
@@ -145,6 +145,7 @@ data:
|
|||||||
{% if route_tls_termination_mechanism | lower == 'passthrough' %}
|
{% if route_tls_termination_mechanism | lower == 'passthrough' %}
|
||||||
server {
|
server {
|
||||||
listen 8052 default_server;
|
listen 8052 default_server;
|
||||||
|
listen [::]:8052 default_server;
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
# Redirect all HTTP links to the matching HTTPS page
|
# Redirect all HTTP links to the matching HTTPS page
|
||||||
@@ -155,6 +156,7 @@ data:
|
|||||||
server {
|
server {
|
||||||
{% if route_tls_termination_mechanism | lower == 'passthrough' %}
|
{% if route_tls_termination_mechanism | lower == 'passthrough' %}
|
||||||
listen 8053 ssl;
|
listen 8053 ssl;
|
||||||
|
listen [::]:8053 ssl;
|
||||||
|
|
||||||
ssl_certificate /etc/nginx/pki/web.crt;
|
ssl_certificate /etc/nginx/pki/web.crt;
|
||||||
ssl_certificate_key /etc/nginx/pki/web.key;
|
ssl_certificate_key /etc/nginx/pki/web.key;
|
||||||
@@ -165,6 +167,7 @@ data:
|
|||||||
ssl_prefer_server_ciphers on;
|
ssl_prefer_server_ciphers on;
|
||||||
{% else %}
|
{% else %}
|
||||||
listen 8052 default_server;
|
listen 8052 default_server;
|
||||||
|
listen [::]:8052 default_server;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# If you have a domain name, this is where to add it
|
# If you have a domain name, this is where to add it
|
||||||
|
|||||||
Reference in New Issue
Block a user