Project

Profile

Help

Issue #9089

Pulp Installer Does Not Check ipv6 for Nginx Redirect Rule

Added by jamesmarshall24 2 months ago. Updated 2 months ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
-
Category:
Installer
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

The nginx.conf.j2 template correctly checks ansible facts for available ipv6 and removes those addresses for listening. However, the 301 redirect for port 80 to 443 does not check for available ipv6 addresses and will always write to that configuration.

This is a follow up to #8536

Associated revisions

Revision 5e5f0efc View on GitHub
Added by jamesmarshall24 2 months ago

Add facts check for ipv6 for nginx server redirect

closes #9089

Revision 5e5f0efc View on GitHub
Added by jamesmarshall24 2 months ago

Add facts check for ipv6 for nginx server redirect

closes #9089

Revision c51e9769 View on GitHub
Added by jamesmarshall24 2 months ago

Add facts check for ipv6 for nginx server redirect

closes #9089

(cherry picked from commit 5e5f0efc42fea235ceff79e2c4321cfe7c5b4f00)

Revision c51e9769 View on GitHub
Added by jamesmarshall24 2 months ago

Add facts check for ipv6 for nginx server redirect

closes #9089

(cherry picked from commit 5e5f0efc42fea235ceff79e2c4321cfe7c5b4f00)

Revision e51f6f17 View on GitHub
Added by jamesmarshall24 about 1 month ago

Add facts check for ipv6 for nginx server redirect

closes #9089

(cherry picked from commit 5e5f0efc42fea235ceff79e2c4321cfe7c5b4f00)

Revision e51f6f17 View on GitHub
Added by jamesmarshall24 about 1 month ago

Add facts check for ipv6 for nginx server redirect

closes #9089

(cherry picked from commit 5e5f0efc42fea235ceff79e2c4321cfe7c5b4f00)

History

#1 Updated by jamesmarshall24 2 months ago

./roles/pulp_webserver/templates/nginx.conf.j2 ln:126-32

{% if not pulp_webserver_disable_https | bool %}
    server {
        listen {{ pulp_webserver_http_port }} default_server;
        listen [::]:{{ pulp_webserver_http_port }} default_server;
        server_name _;
        return 301 https://$host$request_uri;
    }

#2 Updated by jamesmarshall24 2 months ago

  • Status changed from NEW to MODIFIED

#4 Updated by mdepaulo@redhat.com 2 months ago

  • Sprint/Milestone set to 3.14.3

Please register to edit this issue

Also available in: Atom PDF