Welcome! Log In Create A New Profile

Advanced

Re: nginx on host + nginx in jail - how to setup two servers?

Ian Hobson
October 30, 2010 10:04AM
On 29/10/2010 18:26, dong wrote:
> I have one nginx server on my host, whose connected to internet. I have
> second nginx in jail, whose has nonroutable ip. I want:
>
> nginx jail ---> nginx host ---> internet (world)
>
> How I can setup this? Proxy or sth?
If you really want to run nginx on both machines, then you need to set
up a normal install in the jail machine, and a reverse proxy
configuration on the firewall.

If you can serve all your content from the "jail" version, then you
don't need the version on the firewall. Simply port forward port 80 to
the port and ip of the "jail" machine. I think you only need to forward
TCP. If you are using https then you will need to forward that port also.

Regards

Ian


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx on host + nginx in jail - how to setup two servers?

dong October 29, 2010 01:26PM

Re: nginx on host + nginx in jail - how to setup two servers?

Ian Hobson October 30, 2010 10:04AM

Re: nginx on host + nginx in jail - how to setup two servers?

SplitIce October 30, 2010 10:30AM

Re: nginx on host + nginx in jail - how to setup two servers?

dong October 30, 2010 03:14PM

Re: nginx on host + nginx in jail - how to setup two servers?

SplitIce October 31, 2010 04:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 318
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready