outstanding fastcgi connections

2015-08-25 Thread nginxuser100
Hi, I have a FASTCGI server listening over UDS to HTTP request from NGINX. For some reason, the requests stopped reaching the FASTCGI server. netstats -nap shows one socket connection in LISTENING state (as expected), one in CONNECTED state (not sure there should be such session hanging around),

Re: Internal marked 503 error page returns default 404

2015-08-25 Thread Francis Daly
On Tue, Aug 25, 2015 at 02:39:14AM +, ryd994 wrote: Hi there, > Why not use @named location directly? > > error_page 503 @unavailable; > location @unavailable { > alias /absolute/path/to/file; > } the "alias" directive cannot be used inside the named location f -- Francis

Re: Client specified server port

2015-08-25 Thread Francis Daly
On Tue, Aug 25, 2015 at 12:35:55AM +0200, Joó Ádám wrote: Hi there, > The return directive allows the use of URLs relative to the server, in > which case the scheme, server name and port are automatically > prepended by Nginx. > > The port is, however, the port on which the request was received,

Re: Update on: nginx makes mysqld die all the time

2015-08-25 Thread Steve Wilson
Hi, On 25/08/2015 08:36, M. Fioretti wrote: > On 2015-08-18 15:23, M. Fioretti wrote: >> Greetings, >> >> I just migrated to nginx + php-fpm from apache a few websites, on a >> centos 6.6 virtual server. The sites are up but... now mysqld >> (MariaDB, actually) dies every 10/20 **minutes** with st

Re: nginx RFC21266 Compliance - 'Proxy-Connection'

2015-08-25 Thread Steve Wilson
Looking at https://en.wikipedia.org/wiki/List_of_HTTP_header_fields it suggests it's a non-standard request header. You can probably strip this out of the request to the real server with proxy_set_header "Proxy-Connection" ""; Although I'd expect the backend server to ignore invalid request head

Proxy http to https with client certificate authentication

2015-08-25 Thread dpheasant
Hello everyone, I posted this to stack-exchange, but this is probably the better place to get a real answer. Long story short, I think we're hitting the SSL renegotiation problem described here: http://forum.nginx.org/read.php?2,258464,258464#msg-258464 Basically, we're trying to wrap a request ma

Re: nginx RFC21266 Compliance - 'Proxy-Connection'

2015-08-25 Thread Valentin V. Bartenev
On Tuesday 25 August 2015 22:03:10 Tyarko Leander Rodney wrote: > Hi, > > I’ve posted this question on the IRC before but had no luck. I have the > following problem: > > I’d like to disable the ‘Proxy-Connection’ Response Header. I know, that the > “Connection” Header is hard coded in ngx_http

nginx RFC21266 Compliance - 'Proxy-Connection'

2015-08-25 Thread Tyarko Leander Rodney
Hi, I’ve posted this question on the IRC before but had no luck. I have the following problem: I’d like to disable the ‘Proxy-Connection’ Response Header. I know, that the “Connection” Header is hard coded in ngx_http_header_filter_module.c, but does the same apply to “Proxy-Connection” (could

client sent too short userid cookie

2015-08-25 Thread alexberg
Hi I'm getting a lot of "client sent too short userid cookie" errors in error.log. What I see is the following: client sent too short userid cookie "odsp=; odsp=rB4An1Xcv3sLIBgDBjypAg==" And, of course, the uid module resets the cookie (even though it can be recovered) and I end up not seeing s

Re: fastcgi_max_temp_file_size 0 vs fastcgi_buffering off

2015-08-25 Thread khav
For video streaming which option will be the best according to you I currently use fastcgi_max_temp_file_size 0 fastcgi_connect_timeout 60; Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261232,261235#msg-261235 ___ nginx mailing list nginx

Re: fastcgi_max_temp_file_size 0 vs fastcgi_buffering off

2015-08-25 Thread Maxim Dounin
Hello! On Tue, Aug 25, 2015 at 09:44:49AM -0400, khav wrote: > Is fastcgi_max_temp_file_size 0; and fastcgi_buffering off; the same ? No. > If no what is the difference between those two The first one switches off buffering to disk. The second one switches fastcgi module to the unbuffered

Re: "Dereferencing Pointer To Incomplete Type" on ARM

2015-08-25 Thread Maxim Dounin
Hello! On Mon, Aug 24, 2015 at 10:40:05PM -0400, vindicator wrote: > Thanks, but no. I'm still getting that error: > * > cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g > -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \ > -o objs/src/ev

fastcgi_max_temp_file_size 0 vs fastcgi_buffering off

2015-08-25 Thread khav
Is fastcgi_max_temp_file_size 0; and fastcgi_buffering off; the same ? If no what is the difference between those two Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261232,261232#msg-261232 ___ nginx mailing list nginx@nginx.org http://mail

Re: Gzip vs. sendfile

2015-08-25 Thread Maxim Dounin
Hello! On Mon, Aug 24, 2015 at 11:50:10PM +0200, Joó Ádám wrote: > From : > > > Note, however, that because the data never touches user space > > it’s not subject to the filters in the regular NGINX > > processing chain. As a result, filters that chang