Project

Profile

Help

Issue #8130

Installer is doubling http on apache snippets

Added by fao89 about 1 month ago. Updated about 1 month ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
Installer
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
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:

History

#1 Updated by mdepaulo@redhat.com about 1 month ago

  • Triaged changed from No to Yes

Please register to edit this issue

Also available in: Atom PDF