Answer the question
In order to leave comments, you need to log in
Redirect nginx to another resource?
Greetings! History: Clients of one site need to click on a button to get to another site that has strict visiting policies. Namely, this site gives access to entry only by IP. Taking into account the fact that users can receive more than 4 million IP addresses, you understand. You can redirect users to the desired site through nginx via Proxy_pass, in which case the IP resource will be the site from which the redirect is coming. But the problem is that if the user goes to another link, he will expose his real IP and, accordingly, he will not get access. Does anyone know if this task is actually possible? Those. you need to replace the real IP of clients with the IP of the site on which this reverse proxy is installed through a reverse proxy and redirect them to a closed resource.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question