Page MenuHomeSoftware Heritage

Fix nginx revert proxy for rabbitmq
ClosedPublic

Authored by douardda on Feb 21 2019, 6:31 PM.

Details

Summary

make it not normalize the URI passed to the backend.

Diff Detail

Repository
rCDFD Dockerfiles for developers
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

What does this do?

prevent nginx from normalizing URI passed to the backend. The problem is the default rabbitmq domain name is /, thus there are URLs like http://xxx/api/%2F/xxx

Without this, the /%2F/ is normalized as a single /.

That is the reason for the 'object not found' pages when trying to display a rabbitmq queue page.

Thanks for the detailed explanation.

This revision is now accepted and ready to land.Feb 22 2019, 3:38 PM
This revision was automatically updated to reflect the committed changes.