Re: Access to live limit_conn values?

2013-09-26 Thread bryndole
Our own investigation indicates that, no, there is not way to directly access the values in the limit_conn zones from "user space." We created a new status page that reports all the existing zones and the current connection counts for each, as well as what the current limits are. It does this by w

Re: Stumped with issue of Nginx passing requests to php-fpm while using SSL

2013-09-26 Thread Steve Holdoway
OK, the problem is that you're listening on *http* on port 443. You need to use listen 443 ssl [default]; for ssl. As an aside, you can combine the http: and https: configs, using the two listen statements, and dropping the 'ssl on' in a single block. Makes admin simpler... havn't chec

Stumped with issue of Nginx passing requests to php-fpm while using SSL

2013-09-26 Thread Eric Tyrer
Problem i have is that after attempting to login to wordpress over SSL php is not being processed/executed. I've got a Wordpress 3.5 multi-site using subdirectories. nginx version: nginx/1.4.2 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) TLS SNI support enabled configure arguments: --pr

Fedora19 + Nginx - Passenger module not compiled in?

2013-09-26 Thread Philip Rhoades
People, I am trying out nginx-1.4.2-1.fc19.x86_64 and have installed: mod_passenger-3.0.21-4.fc19.x86_64 rubygem-passenger-3.0.21-4.fc19.x86_64 rubygem-passenger-native-3.0.21-4.fc19.x86_64 rubygem-passenger-native-libs-3.0.21-4.fc19.x86_64 rubygem-passenger-devel-3.0.21-4.fc19.x86_64

Re: Is there an nginx queue that isn't logged via $response_time

2013-09-26 Thread tempspace
In case it helps, here at my sysctl and applicable nginx config values Sysctl net.ipv4.tcp_syncookies = 0 net.ipv4.tcp_synack_retries = 2 net.ipv4.ip_local_port_range = 1024 65535 net.ipv4.tcp_fin_timeout = 3 net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.ipv4.tcp_rmem = 1677721

Re: Is there an nginx queue that isn't logged via $response_time

2013-09-26 Thread tempspace
Sorry, I meant $request_time. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243170,243171#msg-243171 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Is there an nginx queue that isn't logged via $response_time

2013-09-26 Thread tempspace
We have a setup that looks like this: nginx->haproxy->app servers We are terminating SSL with nginx and it sits in front of everything. During our peak load times, we are experiencing about a 2x performance hit. Requests that would normally take 400 ms are taking 800ms. It's taking longer for the

Re: Nginx-1.4.1 fails when adding nginx_upload_module-2.2.0

2013-09-26 Thread iwitham
Hello Davromaniak Thanks for pointing me to this patch. I have made the needed changes and was able to compile it just fine. Iry Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243166,243169#msg-243169 ___ nginx mailing list nginx@nginx.org

Re: Nginx-1.4.1 fails when adding nginx_upload_module-2.2.0

2013-09-26 Thread Cyril Lavier
On 09/26/2013 04:27 PM, iwitham wrote: > I am attempting to configure ngixn-1.4.1 on a SLES box for a galaxy server > deployment. I am able to get it to work fine as long as I do not try to > --add-module=../nginx_upload_module-2.2.0. When I add the upload_module to > the configuration it fails a

Nginx-1.4.1 fails when adding nginx_upload_module-2.2.0

2013-09-26 Thread iwitham
I am attempting to configure ngixn-1.4.1 on a SLES box for a galaxy server deployment. I am able to get it to work fine as long as I do not try to --add-module=../nginx_upload_module-2.2.0. When I add the upload_module to the configuration it fails as shown below: ../nginx_upload

Re: request body and client_body_buffer_size

2013-09-26 Thread Maxim Dounin
Hello! On Wed, Sep 25, 2013 at 08:41:44PM -0400, Jeroen Ooms wrote: > One more question regarding this: > > > The > >proxy_no_cache $request_body_file; > > should do the trick, see http://nginx.org/r/proxy_no_cache. > > I tried this and get a warning: >nginx: [warn] "proxy_no_cache" fun

upstream+ip_hash: hash valid global?

2013-09-26 Thread revirii
Hello, i have 2 upstreams, each with 3 backend servers, where backendA is the same backend in both upstreams. upstream one { server backendA; server backendB; server backendC; } upstream two { server backendA; server backendD; server backendE; } A user with his IP sends

Re: Declare a block so as to be shared between locations

2013-09-26 Thread mex
Hi, what you are looking for is the "include" - statement, see here: http://nginx.org/en/docs/ngx_core_module.html#include regards, mex Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243159,243161#msg-243161 ___ nginx mailing list ng

Re: Declare a block so as to be shared between locations

2013-09-26 Thread Steve Holdoway
On 26/09/13 19:20, Maurizio De Santis wrote: I have two locations, /a and /b . Both of them share these directives expires max; add_header Cache-Control public; add_header ETag ""; break; and location /b to has gzip_static on too. Is there a way to write this without writing tw

Declare a block so as to be shared between locations

2013-09-26 Thread Maurizio De Santis
I have two locations, /a and /b . Both of them share these directives expires max; add_header Cache-Control public; add_header ETag ""; break; and location /b to has gzip_static on too. Is there a way to write this without writing two times the common directives? That is, with