Project

Profile

Help

Issue #8583

closed

pulp_webserver should work with IPv6 disabled

Added by kkeane over 3 years ago. Updated about 3 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

The nginx configuration generated by the pulp installer will break when IPv6 is disabled on a system. The offending stanza in the code is in the role pulp_webserver, in the template nginx.conf.j2

The two listen statements listening on [::] should be conditional.

{% if pulp_webserver_disable_https | bool %} listen {{ pulp_webserver_http_port }} default_server deferred; listen [::]:{{ pulp_webserver_http_port }} default_server deferred; {% else %} listen {{ pulp_webserver_https_port }} default_server deferred ssl; listen [::]:{{ pulp_webserver_https_port }} default_server deferred ssl;


Related issues

Is duplicate of Pulp - Story #8536: Option to not configure ipv6 listening in nginx config CLOSED - CURRENTRELEASE

Actions
Actions #1

Updated by fao89 about 3 years ago

  • Status changed from NEW to CLOSED - DUPLICATE
Actions #2

Updated by fao89 about 3 years ago

  • Is duplicate of Story #8536: Option to not configure ipv6 listening in nginx config added

Also available in: Atom PDF