Re: Connection timeout from work, working anywhere else

2015-04-21 Thread GuiPoM
Short update, as I am still struggling with this problem: Same issue for HTTP, if I route an external port to nginx on my raspberry. But if I route to another HTTP server, everything works fine from my work office. So this must have something to do with nginx, but I have absolutely no idea where to

Re: nginx php cgi interpreter

2015-04-21 Thread Thiago Farina
On Tue, Apr 21, 2015 at 9:02 PM, Richard Stanway wrote: >> That guide seems obsolete. Use the php5-fpm package, > https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-debian-7 > looks like a more up to date guide (skip the mysql part if it isn't neede

Re: nginx php cgi interpreter

2015-04-21 Thread Richard Stanway
On Tue, Apr 21, 2015 at 11:59 PM, Thiago Farina wrote: > Hi all, > > I'm just trying to configure nginx to use use php, but it seemed too > complicated. > > Why is it so complicated to tell nginx to use php-cgi interpreter [1]? > When compared to mongoose it is just a matter of setting the > cgi_

nginx php cgi interpreter

2015-04-21 Thread Thiago Farina
Hi all, I'm just trying to configure nginx to use use php, but it seemed too complicated. Why is it so complicated to tell nginx to use php-cgi interpreter [1]? When compared to mongoose it is just a matter of setting the cgi_interpreter variable [2] to the path of php-cgi? [1] - https://www.li

Re: rewrite rules issue

2015-04-21 Thread Francis Daly
On Tue, Apr 21, 2015 at 09:26:59AM -0400, nicocolt wrote: Hi there, > server { > listen *:80; > > > server_name domain.fr www.domain.fr subdomain.domain.fr; This doesn't match what I thought you had done. > So if host is subdomain.domain.fr, then the url is rewrite to > subdom

Re: maximum number of descriptors supported by select() is 1024 while connecting to upstream

2015-04-21 Thread Devika R.
itpp2012 wrote in post #1172401: > Devika R. Wrote: > --- >> I am getting following error in my nginx logs and I don't think its >> related to the worker connections. I am on a windows 7 machine. >> >> I think the problem is to do with proxy. Any

Question on Nginx Proxy Installation

2015-04-21 Thread vikrant singh
Hello, Following is a problem I am facing while using nginx as a proxy, please provide me feedback and ideas to solve it. I have a zookeeper based service discovery setup. For some of the services I want to use nginx as a proxy. Flow I am planning to set is like this.. Client connects to nginx wit

Re: [nginx-announce] nginx-1.8.0

2015-04-21 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.8.0 for Windows http://goo.gl/A3tH0N (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announcements are also availab

Building nginx 1.8.0, linking to local-install of Openssl, 'nginx -V' still reports "built with" *system* openssl. why?

2015-04-21 Thread grantksupport
I'm building nginx 1.8.0 on linux/64. I have openssl 1.0.2a built locally, and installed into /usr/local/ssl which openssl /usr/local/ssl/bin/openssl I've configured nginx build with ./configure \ ... --with-cc-opt='... -I/usr/local/ssl/include -I

nginx-1.8.0

2015-04-21 Thread Maxim Dounin
Changes with nginx 1.8.0 21 Apr 2015 *) 1.8.x stable branch. -- Maxim Dounin http://nginx.org/ ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: maximum number of descriptors supported by select() is 1024 while connecting to upstream

2015-04-21 Thread itpp2012
Devika R. Wrote: --- > I am getting following error in my nginx logs and I don't think its > related to the worker connections. I am on a windows 7 machine. > > I think the problem is to do with proxy. Any idea how to resolve this? > > ERROR LOG

Re: maximum number of descriptors supported by select() is 1024 while connecting to upstream

2015-04-21 Thread Aleksandar Lazic
Dear Devika. Am 21-04-2015 15:40, schrieb Devika R.: I am getting following error in my nginx logs and I don't think its related to the worker connections. I am on a windows 7 machine. I think the problem is to do with proxy. Any idea how to resolve this? ERROR LOG: 2015/04/21 09:32:28 [error]

Re: maximum number of descriptors supported by select() is 1024 while connecting to upstream

2015-04-21 Thread Maxim Dounin
Hello! On Tue, Apr 21, 2015 at 03:40:40PM +0200, Devika R. wrote: > I am getting following error in my nginx logs and I don't think its > related to the worker connections. I am on a windows 7 machine. > > I think the problem is to do with proxy. Any idea how to resolve this? > > ERROR LOG: > 2

maximum number of descriptors supported by select() is 1024 while connecting to upstream

2015-04-21 Thread Devika R.
I am getting following error in my nginx logs and I don't think its related to the worker connections. I am on a windows 7 machine. I think the problem is to do with proxy. Any idea how to resolve this? ERROR LOG: 2015/04/21 09:32:28 [error] 9304#11016: *41311 maximum number of descriptors suppor

Re: rewrite rules issue

2015-04-21 Thread nicocolt
Hello Francis, server { listen *:80; server_name domain.fr www.domain.fr subdomain.domain.fr; root /var/www/domain.fr/web; if ($http_host = "subdomain.domain.fr") { rewrite ^(?!/\b(bar|stats|error)\b)/(.*)$ /bar/$2 last; } index i

Re: open socket #84 left in connection

2015-04-21 Thread shahzaib shahzaib
Hi, Problem was with monit which was kept on restarting nginx persistently. Thanks !! On Mon, Apr 20, 2015 at 7:23 PM, shahzaib shahzaib wrote: > I have also enabled debug logging and found 'Resource temporarily > unavailable' messages. Below is the reference sample : > > 2015/04/20 18:41