Project

Profile

Help

Issue #8130

open

Installer is doubling http on apache snippets

Added by fao89 about 3 years ago. Updated over 2 years ago.

Status:
POST
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
(Total: 0:00 h)
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Currently, apache and nginx have a scheme inconsistency:

nginx: pulp-api = 127.0.0.1
apache: pulp-api = http://127.0.0.1

which means:

http://pulp-api on nginx = http://127.0.0.1
http://${pulp-api} on apache = http://http://127.0.0.1

It causes proxy error when running plugins on apache.

ProxyPass /token http://${pulp-api}/token
ProxyPassReverse /token http://${pulp-api}/token

Both nginx and apache uses pulp_api_bind, but nginx does use "raw" pulp_api_bind:

While apache injects "http://" on it:

Example of plugin snippets:


Sub-issues 3 (0 open3 closed)

Ansible Plugin - Issue #8572: Apache snippets cause proxy errorCLOSED - CURRENTRELEASEActions
Container Support - Issue #8573: Apache snippets cause proxy errorCLOSED - CURRENTRELEASEActions
NPM Plugin - Issue #8574: Apache snippets cause proxy errorCLOSED - DUPLICATEActions

Also available in: Atom PDF