Actions
Task #4966
closedTask #4961: [Epic] Improve Integration and Testing with Nginx and Apache
Nginx needs to expose both pulp-api and pulp-content-app
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 57
Quarter:
Description
Problem¶
Currently the nginx config you get from the installer only serves pulp-api via port 80. Users need a reliable, sane way to have nginx serve both pulp-api and pulp-content-app
Solution¶
1. Add a second upstream to the nginx config for the pulp-content-app
2. Either namespace the two applications or route to one and then fall back to the other
NOTE: we want this listening on port 80 so that users with web browsers get a good experience from this config.
Actions
Allows nginx to reverse proxy both services
Without this urls outside of /pulp/content/ and /pulp/api/ would not route correctly. This causes the last block to try both services if the first one 404s.
https://pulp.plan.io/issues/4966 closes #4966