Answer the question
In order to leave comments, you need to log in
nginx + proxying depending on login
Question in the following:
Proxying of requests for other server by means of nginx is configured.
There are several such servers, the same service, only with different data inside.
basic_auth enabled.
It is necessary that, depending on the login, the user receives data from one specific internal server.
Actually, the question is how to do it? And in general, is it possible?
Answer the question
In order to leave comments, you need to log in
I suppose that for this purpose you can try to use the HttpUpstreamFairModule
wiki.nginx.org/HttpUpstreamRequestHashModule
Looked, thanks.
Can you give an example of settings by any chance?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question