-
Bug
-
Resolution: Unresolved
-
Normal
-
None
The logs might be confusing for the actual backend matched, cause it is only for auth:
https://github.com/RedHatInsights/turnpike/blob/master/turnpike/views.py#L25
But not the same for the actual origin that's forwarded. https://github.com/RedHatInsights/turnpike/blob/master/nginx/backend_template.conf.j2#L1
The backend generation would add wildcard
for example if we have two paths defined in the backend
/api/pulp
/api/pulp-content
would become /api/pulp* /api/pulp-content*
requests to /api/pulp-content/default might be routed to /api/pulp*
We have to keep this in mind or find a solution for this situation