Re: can't disable logging of static resources like images

2014-10-29 Thread B.R.
IMO your configuration looks like an include maze/mess, so I won't dig to far in it. >From what I saw you define at least 2 servers listening on port 80 with nothing to differentiate them from each other (such as a server_name). I thought that kind of configuration was rejected by nginx, if my mem

Re: GeoIP blocking behind AWS ELB + proxy protocol

2014-10-29 Thread Francis Daly
On Wed, Oct 29, 2014 at 01:35:50PM -0500, Joe Rizzo wrote: Hi there, > I have nginx servers behind an AWS ELB. Because web sockets are > leveraged, the ELB is configured as TCP load balancing with the proxy > protocol option set. The true IP address of the client is extracted as > variable $p

Re: Nginx on Windows Server 2008 with SSL

2014-10-29 Thread Francis Daly
On Wed, Oct 29, 2014 at 11:31:41AM -0400, krlosgilson wrote: Hi there, I do not know the fix, but... > the error in the log file is this: > > SSL_CTX_use_PrivateKey_file("c:/nginx/ssl/key.key") failed (SSL: > error:0B080074:x509 certificate routines:X509_check_private_key:key values > mismatch

Re: Trying to Understand Upstream Keepalive

2014-10-29 Thread Maxim Dounin
Hello! On Wed, Oct 29, 2014 at 02:20:28PM -0400, newnovice wrote: > "isn't enough room in the cache." > > how big is the upstream keepalive connection-pool cache size? http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive -- Maxim Dounin http://nginx.org/

can't disable logging of static resources like images

2014-10-29 Thread Igal @ getRailo.org
does the order of access_log directives matter? I can't disable the logging of static resources. I have the main config file which contains the access_log directive at line #74 https://gist.github.com/igal-getrailo/698#file-1-nginx-railo-conf and includes a config file for each site like htt

GeoIP blocking behind AWS ELB + proxy protocol

2014-10-29 Thread Joe Rizzo
Hi - I have nginx servers behind an AWS ELB. Because web sockets are leveraged, the ELB is configured as TCP load balancing with the proxy protocol option set. The true IP address of the client is extracted as variable $proxy_protocol_addr. How would I configure nginx to allow/deny access

Re: Trying to Understand Upstream Keepalive

2014-10-29 Thread newnovice
"isn't enough room in the cache." how big is the upstream keepalive connection-pool cache size? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249924,254426#msg-254426 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/l

Re: Trying to Understand Upstream Keepalive

2014-10-29 Thread Maxim Dounin
Hello! On Wed, Oct 29, 2014 at 01:15:56PM -0400, newnovice wrote: > Maxim Dounin Wrote: > --- > > Hello! > > > > On Tue, Oct 28, 2014 at 08:01:33PM -0400, newnovice wrote: > > > > > Maxim, > > > > > > > > http://nginx.org/en/docs/http/ngx_ht

Re: RE: upstream sent invalid status "-1 Copy failed" while reading response header from upstream

2014-10-29 Thread NaZz
Okay, thank you...Sad story is that everything worked fine until I updated to latest Nginx version, that's why I came here. Oh well Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254279,254420#msg-254420 ___ nginx mailing list nginx@nginx.org

Re: Trying to Understand Upstream Keepalive

2014-10-29 Thread newnovice
Maxim Dounin Wrote: --- > Hello! > > On Tue, Oct 28, 2014 at 08:01:33PM -0400, newnovice wrote: > > > Maxim, > > > > > http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive > > > > I would like to know what is the keepalive ti

Re: Trying to Understand Upstream Keepalive

2014-10-29 Thread Maxim Dounin
Hello! On Tue, Oct 28, 2014 at 08:01:33PM -0400, newnovice wrote: > Maxim, > > http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive > > I would like to know what is the keepalive timeout for this connection pool? > Is it static? As of now, there is no timeout on nginx side.

RE: upstream sent invalid status "-1 Copy failed" while reading response header from upstream

2014-10-29 Thread Lukas Tribus
> I don't understand this "upstream" "upstream" "upstream backend server". > The upstream is served by fastcgi - fpm.sock on my own server. How do I > attend this problem? > Where do I dig exactly? PHP or its FastCGI/FPM interface. _

Re: Nginx on Windows Server 2008 with SSL

2014-10-29 Thread krlosgilson
the error in the log file is this: SSL_CTX_use_PrivateKey_file("c:/nginx/ssl/key.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch Have you tried running the commenting ssl_certificate_key line with a # and the error that appears is this: no "

Re: upstream sent invalid status "-1 Copy failed" while reading response header from upstream

2014-10-29 Thread NaZz
I don't understand this "upstream" "upstream" "upstream backend server". The upstream is served by fastcgi - fpm.sock on my own server. How do I attend this problem? Where do I dig exactly? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254279,254412#msg-254412

Re: [ANN] Windows nginx 1.7.7.2 Gryphon

2014-10-29 Thread c0nw0nk
Thats cool will you be posting that here or on your site looking forward to it :). Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254012,254410#msg-254410 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

AW: Nginx Load Balancing Two Squid Forward Proxyies

2014-10-29 Thread Alexander.Eck
HI ! Thanks fort he reply. Yeah i know nginx is a reverse proxy, but i found some tutorials using it in front of squid as forward proxy...well they didnt really work... Seems like i have to look for another solution to build a failover forward proxy :S Regards Alex -Ursprüngliche Nach

Re: Nginx Load Balancing Two Squid Forward Proxyies

2014-10-29 Thread Maxim Dounin
Hello! On Wed, Oct 29, 2014 at 12:23:48PM +, alexander@heidelberg.de wrote: [...] > I'm using my nginx in the proxy settings of my internet explorer > and try to visit e.g. www.google.de . > The request gets forwarded to the first of my server (as the > second

Re: Nginx on Windows Server 2008 with SSL

2014-10-29 Thread Francis Daly
On Wed, Oct 29, 2014 at 09:13:19AM -0400, krlosgilson wrote: Hi there, > Hello everyone! I'm new here on the forum, sorry if I wrote something down > incorrectly. > > I am trying to run Nginx on Windows Server 2008 with SSL Certificate but > always throws an error in the log file and it will no

Re: Nginx Load Balancing Two Squid Forward Proxyies

2014-10-29 Thread Francis Daly
On Wed, Oct 29, 2014 at 12:23:48PM +, alexander@heidelberg.de wrote: Hi there, > I'm trying to get nginx to work as a load balancer for 2 squid forward > proxies. I'm running nginx 1.6.2 on a Centos 7 64bit machine. Here's my > config: > I'm using my nginx in the proxy settings of my i

Nginx on Windows Server 2008 with SSL

2014-10-29 Thread krlosgilson
Hello everyone! I'm new here on the forum, sorry if I wrote something down incorrectly. I am trying to run Nginx on Windows Server 2008 with SSL Certificate but always throws an error in the log file and it will not start the process. I've been reading on some forums, they said I had to configure

Nginx Load Balancing Two Squid Forward Proxyies

2014-10-29 Thread Alexander.Eck
Hi everyone, I'm trying to get nginx to work as a load balancer for 2 squid forward proxies. I'm running nginx 1.6.2 on a Centos 7 64bit machine. Here's my config: Nginx.conf: user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid/var/run/nginx.pid; events {