Welcome! Log In Create A New Profile

Advanced

Re: 502 Bad Gateway- Nginx and thin

Maxim Dounin
March 18, 2013 11:24AM
Hello!

On Mon, Mar 18, 2013 at 04:12:58PM +0100, Yunior Miguel A. wrote:

> I have install nginx 1.1.19 and thin 1.5.0 in Ubuntu 12.04 and I am
> install redmine, when I try to access the page of redmine gives me the
> following error: 502 Bad Gateway. In Nginx log reads:
> 2013/03/18 10:45:09 [crit] 13886#0: *11 connect() to
> unix:/tmp/thin.0.sock failed (2: No such file or directory) while
> connecting to upstream, client: 127.0.0.1, server:
> redmine_nginx.ipp.com, request: "GET / HTTP/1.1", upstream:
> "http://unix:/tmp/thin.0.sock:/", host: "redmine_nginx.ipp.com"
> thin configuration:

[...]

This:

> socket: /tmp/thin.sock

doesn't match this:

> server unix:/tmp/thin.0.sock;

and the mismatch explains the problem.

--
Maxim Dounin
http://nginx.org/en/donation.html

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

502 Bad Gateway- Nginx and thin

Yunior Miguel A. March 18, 2013 11:14AM

Re: 502 Bad Gateway- Nginx and thin

Maxim Dounin March 18, 2013 11:24AM

Re: 502 Bad Gateway- Nginx and thin

Francis Daly March 18, 2013 11:28AM

Re: 502 Bad Gateway- Nginx and thin

Yunior Miguel A. March 18, 2013 12:14PM

Re: 502 Bad Gateway- Nginx and thin

Francis Daly March 18, 2013 01:16PM

Re: 502 Bad Gateway- Nginx and thin

Yunior Miguel A. March 18, 2013 03:54PM

Re: 502 Bad Gateway- Nginx and thin

basti March 18, 2013 04:12PM

Re: 502 Bad Gateway- Nginx and thin

Francis Daly March 18, 2013 04:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 156
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