nginx proxy hidind ip of vps backend
can someone help me with one configuration. I want to setup 2 vps. On will run my site and one will act like a proxy (not load balansing). That proxy need to hide entirely the IP of the backend. Also I want that backend to communicate ONLY with that proxy on specific port. And also need to make that no one can’t access that backend, even he/she know the IP of it. So the setup need to look like this:
User -> Internet -> Proxy <–> Backend.
And it is possible to make some kind of tunneling between proxy and backend or something like this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×