Welcome! Log In Create A New Profile

Advanced

Re: nginx forward proxy - 502 bad gateway

March 09, 2013 01:29PM
>
> This server is behind a cisco firewall with port 8080 open. Where is
> the
> problem?
>
> The line:
>
> proxy_pass http://$http_host$uri$is_args$args;
>
> has problem with firewalls? or it is something else?
>


are you able to connect to $http_host from that second server,
maybe via lynx/w3m?
$ telnet $http_host 8080

and then

GET /

additionally, can you execute the following on that
server to check if you're able to connect to your resolver:

$ nslookup $http_host 8.8.8.8
SubjectAuthorPosted

nginx forward proxy - 502 bad gateway

ptheoMarch 09, 2013 12:18PM

Re: nginx forward proxy - 502 bad gateway

mexMarch 09, 2013 01:29PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready