Welcome! Log In Create A New Profile

Advanced

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

October 30, 2010 03:14PM
How to set proxy_pass? When I set NAT in pf.conf then sites from nginx on my host dont working, but sites from jail is working :)

Its my pf.conf now:
rdr pass on em0 proto tcp from any to em0 port 80 -> 192.168.1.3 port 80
nat on em0 from 192.168.1.0/24 to any -> 188.x.x.x

192.168.1.3 - its my jail
188.x.x.x its my host
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: 271
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