X
X
XXZXCUZX2017-05-12 15:53:42
Nginx
XXZXCUZX, 2017-05-12 15:53:42

How to set up a request passing through several servers?

Hello. There is one site (site 1), there is another site (site 2). Site 2 runs under the flag and parses requests. How to make it so that when a user accesses site 1, he first goes to site 2, and then, if the request is valid, the request goes to site 1?
In my attempts with reverse proxies, everything ends with an endless redirect, so I'm asking for help. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
egor_nullptr, 2017-05-12
@egor_nullptr

nginx.org/en/docs/http/ngx_http_auth_request_modul...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question