O
O
onlinehead2011-06-07 08:35:14
Nginx
onlinehead, 2011-06-07 08:35:14

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

2 answer(s)
V
VBart, 2011-06-07
@VBart

I suppose that for this purpose you can try to use the HttpUpstreamFairModule
wiki.nginx.org/HttpUpstreamRequestHashModule

O
onlinehead, 2011-06-08
@onlinehead

Looked, thanks.
Can you give an example of settings by any chance?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question