Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A tip for others - URL on server must match what client requested #22

Open
paulharris opened this issue May 19, 2020 · 0 comments
Open

Comments

@paulharris
Copy link

I was passing through an nginx server (HOST), into a virtual machine running another nginx (VM).

The VM did the digest authentication, but I had changed the url during the proxy_pass.
ie HOST's configuration was proxy_pass http://VM/;

ie HOST saw url as /test/page.html
and VM saw the url as /page.html

This broke the digest calc, which includes the URL of the request.
So I adjusted the proxy_pass to http://VM/test/; and then the digest matched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant