Welcome! Log In Create A New Profile

Advanced

host -> jail -> host - BAD GATEWAY

November 05, 2010 04:11PM
Im using FreeBSD and jails. I have my postfix on host, and main http server in jail.

When I set in jail (192.168.1.2):

server {
<------>listen 80;
<------>server_name www.poczta.a.org poczta.a.org;
<------>access_log /var/log/nginx/poczta.a.org-access.log;

<------>location / {
<------><------> proxy_pass http://188.212.129.X;
<------><------> proxy_set_header X-Real-IP $remote_addr;
<------><------> proxy_set_header Host $http_host;
<------>}
}

188.212.129.X it is my host IP.

I must set nginx on host, because without this my www mail client (roundcube) dont working. I cant install postfix in jail. How to fix it?
Subject Author Posted

host -> jail -> host - BAD GATEWAY

dong November 05, 2010 04:11PM

Re: host -> jail -> host - BAD GATEWAY

mike November 05, 2010 04:22PM

Re: host -> jail -> host - BAD GATEWAY

dong November 05, 2010 04:24PM

Re: host -> jail -> host - BAD GATEWAY

mike November 05, 2010 04:32PM

Re: host -> jail -> host - BAD GATEWAY

Jérôme Loyet November 05, 2010 04:42PM

Re: host -> jail -> host - BAD GATEWAY

mike November 05, 2010 04:46PM

Re: host -> jail -> host - BAD GATEWAY

dong November 05, 2010 04:59PM

Re: host -> jail -> host - BAD GATEWAY

Cliff Wells November 05, 2010 05:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 84
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready