Re: HTTP 505 error message supported by NGINX?

2015-08-04 Thread nginxuser100
Thank you B.R. I wonder why 505 was not supported. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260754,260768#msg-260768 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Memory leaks when used as a shared library

2015-08-04 Thread xfeep
Hi, Lord, Thank you! Lord Nynex Wrote: --- > Have you looked at https://github.com/openresty/no-pool-nginx ? > But the issue in my case is not related to nginx's pool mechanism. It is caused by some build-in modules which won't release it al

Re: HTTP 505 error message supported by NGINX?

2015-08-04 Thread B.R.
It seems that by default nginx does not handle that HTTP code. I just tried the following: HEAD / HTTP/30.00 User-Agent: lollipop Host: [EDITED] Accept: */* HTTP/1.1 200 OK Server: nginx Date: Tue, 04 Aug 2015 23:27:43 GMT Content-Type: text/html; charset=UTF-8 Connection: keep-alive Strict-Trans

Re: HTTP 505 error message supported by NGINX?

2015-08-04 Thread nginxuser100
Thank you Francis. The body content did the trick ... not as aesthetically pleasing to the eyes as the NGINX's "hard-coded reason phrase", but it is better than a blank page. I did not understand what you meant by a config to control the reason phrase. Thanks again. Posted at Nginx Forum: http://

Re: HTTP 505 error message supported by NGINX?

2015-08-04 Thread Francis Daly
On Tue, Aug 04, 2015 at 06:19:03PM -0400, nginxuser100 wrote: Hi there, > I have my FCGI server send "HTTP/1.1 505 Version Not Supported\r\nStatus: > 505 Version Not Supported\r\n\r\n". > In nginx.conf, I have: > > fastcgi_intercept_errors on; > error_page 505 /errpage; >

Re: Nginx proxy server

2015-08-04 Thread Thiago Farina
On Mon, Aug 3, 2015 at 12:54 AM, goga wrote: > Hi everyone. > I need to create a mirror site. And I use the server Nginx. > I was able to configure the server. And everything works fine. > But I have a problem when trying to login on my site. If a password is good > I redirect to the original site

Re: HTTP 505 error message supported by NGINX?

2015-08-04 Thread nginxuser100
I have my FCGI server send "HTTP/1.1 505 Version Not Supported\r\nStatus: 505 Version Not Supported\r\n\r\n". In nginx.conf, I have: fastcgi_intercept_errors on; error_page 505 /errpage; location /errpage { try_files /version_not_supported.html =5

Re: HTTP 505 error message supported by NGINX?

2015-08-04 Thread B.R.
There is no such HTTP 505 "OK". It means "HTTP Version Not Supported". What were you testing? How did you test it? What result did you expect? What result did you get? --- *B. R.* On Tue, Aug 4, 2015 at 11:57 PM, nginxuser100 wrote: > Hi, does NGINX support the generation of the error message f

HTTP 505 error message supported by NGINX?

2015-08-04 Thread nginxuser100
Hi, does NGINX support the generation of the error message for HTTP error code 505? For example, I see "401 Authorization Required" when running nginx 1.6.2 but I don't see anything for 505. NGINX would return "505 OK" in the HTTP response. Thank you. Posted at Nginx Forum: http://forum.nginx.

Re: Memory leaks when used as a shared library

2015-08-04 Thread Lord Nynex
Have you looked at https://github.com/openresty/no-pool-nginx ? On Sun, Aug 2, 2015 at 7:31 AM, xfeep wrote: > Hi, Maxim, > > Thanks for your reply! > --- > > Well, the answer is simple: nginx is not designed to be a shared > > library. If you

Re: Nginx sending notification

2015-08-04 Thread itpp2012
What about Lua? I could image something with Lua->fastcgi sending a GET to another server via simple tcp with status information the other nginx server can act upon. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260738,260739#msg-260739 ___

Nginx sending notification

2015-08-04 Thread nginxsantos
Hi, I want to send a notification from Nginx to another remote server when the health of any configured upstream server changes. Is there any module available for this. I was able to get that working through "salt" , but I need something better, Any suggestions?? Regards, Santos Posted at Nginx