Answer the question
In order to leave comments, you need to log in
How to proxy the entire internet through nginx?
See. Suppose there is a certain server that has access to the Internet. And there is a computer that has access to this server. Let the server's IP be server.local. It is necessary that when requesting server.local/yandex.ru, Yandex opens through a proxy, so that it works (replace all links in HTML from yandex.ru with server.local/yandex.ru. I found an implementation for one site, and how to do it for the whole internet i.e. to open server.local/something.abc or server.local/123.123.123.123 and all the links change from links to the original site to links to the site on the server?
Answer the question
In order to leave comments, you need to log in
Why do you need to implement based on nginx? According to your description, you need something like an anonymizer. Look for ready-made anonymizers in php.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question