Need Help about useing Nginx with UWSGI

2015-10-22 Thread qhlonline
Hi, I had some problem on config nginx with uwsgi. Finally I found that my uwsgi had chose protocol of http and Nginx use uwsgi protocol as default. So If I want to use http protocol to transport data from nginx to uwsgi, how to config ? Regards! _

Re: nginx: worker process is shutting down

2015-10-22 Thread Wandenberg Peixoto
Make sense On Thu, Oct 22, 2015 at 7:43 PM, Christos Chatzaras wrote: > I think I found a patch for this: > https://github.com/jrkettle/nginx-http-auth-digest/commit/6846a2a94b5497ec999a826618552717b3853bb9 > ___ > nginx mailing list > nginx@nginx.org

Re: nginx: worker process is shutting down

2015-10-22 Thread Christos Chatzaras
I think I found a patch for this: https://github.com/jrkettle/nginx-http-auth-digest/commit/6846a2a94b5497ec999a826618552717b3853bb9 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx: worker process is shutting down

2015-10-22 Thread Christos Chatzaras
Thank you for the help. I found that the problem is caused by Http Auth Digest: https://github.com/samizdatco/nginx-http-auth-digest but I don't think I will get any help from the developer as it's not maintained any more. Last commit was 4 years ago.

Re: Loadable Modules: Coming?

2015-10-22 Thread Patrick Nommensen
On Thu, Oct 22, 2015 at 2:08 PM, Maxim Dounin wrote: > Hello! > > On Thu, Oct 22, 2015 at 02:02:09PM -0400, Jeff Kaufman wrote: > > > I remember hearing rumors that loadable module support was coming; is > > there anything planned here? > > > > (ngx_pagespeed would love to distribute as a loadabl

Re: Loadable Modules: Coming?

2015-10-22 Thread Maxim Dounin
Hello! On Thu, Oct 22, 2015 at 02:02:09PM -0400, Jeff Kaufman wrote: > I remember hearing rumors that loadable module support was coming; is > there anything planned here? > > (ngx_pagespeed would love to distribute as a loadable module, and if > there are things we can be doing now to get ready

Re: nginx: worker process is shutting down

2015-10-22 Thread Maxim Dounin
Hello! On Thu, Oct 22, 2015 at 04:27:05PM +0300, Christos Chatzaras wrote: > Every time I do "nginx -s reload" I see a process: > > nginx: worker process is shutting down > > This process never stops even after a long time. > > Any idea what cause this issue? When shutting down, nginx waits f

Loadable Modules: Coming?

2015-10-22 Thread Jeff Kaufman
I remember hearing rumors that loadable module support was coming; is there anything planned here? (ngx_pagespeed would love to distribute as a loadable module, and if there are things we can be doing now to get ready I would be pretty excited to do them) _

nginx: worker process is shutting down

2015-10-22 Thread Christos Chatzaras
Every time I do "nginx -s reload" I see a process: nginx: worker process is shutting down This process never stops even after a long time. Any idea what cause this issue? >From truss (similar to strace): kevent(13,{},0,{},512,{0.60200 })= 0 (0x0) kevent(13,{},0,{},512,{3.00

Re: HTTP Authentication through database

2015-10-22 Thread itpp2012
These might get you going: https://www.nginx.com/resources/wiki/start/topics/examples/imapauthenticatewithapachephpscript/ https://groups.google.com/forum/#!msg/nginx-rtmp/y028v8RVx9o/dND4THOLUc0J Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262394,262401#msg-262401

Re: HTTP Authentication through database

2015-10-22 Thread JaminVP
Whilst trying out the auth_request module I figured I could run a local php file that connects to a database and checks if the user is valid. I cannot figure out how to run the php script though, any ideas? This is my nginx.conf: events { worker_connections 10; } http { upstream ela

Re: HTTP Authentication through database

2015-10-22 Thread itpp2012
There are many ways to do this with Lua, https://www.google.nl/#q=nginx+lua+authentication Even via a database, https://github.com/openresty/lua-resty-mysql Posted at Nginx Forum: https://forum.nginx.org/read.php?2,262394,262396#msg-262396 ___ nginx ma

Re: HTTP Authentication through database

2015-10-22 Thread lhmwzy
How about using ngx_lua? 2015-10-22 16:05 GMT+08:00 JaminVP : > Greetings, > > I recently stumbled onto Nginx while researching a way to protect my > Elasticsearch server without using Elastic Shield. > My setup has a Windows Server box containing a webserver which has Kibana > deployed on port 8

HTTP Authentication through database

2015-10-22 Thread JaminVP
Greetings, I recently stumbled onto Nginx while researching a way to protect my Elasticsearch server without using Elastic Shield. My setup has a Windows Server box containing a webserver which has Kibana deployed on port 8080. The box also runs Elasticsearch as a service which listens to port 92