Authentication module help!

2014-03-07 Thread lerouxt
Hi, I'm trying to integrate nginx with a proprietary authentication scheme and I need a bit of help! The auth scheme is this: traffic is allowed through nginx if there exists a cookie containing a valid HMAC. If not, nginx is to redirect to an auth server (same domain) which will prompt the use

Re: No SPDY support in the official repository packages

2014-03-07 Thread Per Hansson
I second this request, it would be very welcome :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,245553,248234#msg-248234 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Memory usage doubles on reload

2014-03-07 Thread PetrHolik
Ok, thanks for info. I'll, do some research. I read some articles about memory allocation and I think when the system will be going to out of memory, the will try to reclaim freed pages which in normal situations when have enough ram does not because of avoiding memory fragmentation. Petr Holik

How to "Require User" like Apache in Nginx

2014-03-07 Thread flarik
Hi all, I was just wondering, how to do the following in nginx: # apache.conf: # --- AuthType Basic AuthUserFile /var/www/auth/htpasswd AuthName "pass please" require valid-user Allow from all Require user u

Re: Memory usage doubles on reload

2014-03-07 Thread Maxim Dounin
Hello! On Thu, Mar 06, 2014 at 03:01:49PM -0500, PetrHolik wrote: > Hello Maxim, thanks for reply. > > Is there possibility to purge allocated buffer(RAM) in old(gracefully) > worker processes? IMO worker thread have allocated all memory till last > clients disconnects. That is really isue for u

Re: Transforming nginx for Windows

2014-03-07 Thread Maxim Dounin
Hello! On Thu, Mar 06, 2014 at 06:05:03PM -0500, tonyschwartz wrote: > There is definitely some issue doing proxying. At some point, the > connection to the back end appears to go bad. The request from the browser > to nginx just spins and spins. This occurs against (ahem...) IIS6 and also > a

Re: Transforming nginx for Windows

2014-03-07 Thread itpp2012
tonyschwartz Wrote: --- > There is definitely some issue doing proxying. At some point, the > connection to the back end appears to go bad. The request from the > browser to nginx just spins and spins. This occurs against (ahem...) > IIS6 and a