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

dong nginx-forum at
Sat Oct 30 23:14:19 MSD 2010

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 -> port
nat on em0 from to any -> 188.x.x.x - its my jail
188.x.x.x its my host

Posted at Nginx Forum:,145777,146051#msg-146051

More information about the nginx mailing list