Using variables on configuration (map?) for regex

2016-07-21 Thread mosto...@gmail.com
Hi I'm trying to /clean/ up a config file and I'm having a headache trying to do it. Consider the following scenario: * Users from group gfoo must be allowed to GET URL foo, while adminfoo must be able to POST * Users from group gbar must be allowed to GET URL bar, while adminbar must

how i can use third party library while building own nginx module

2016-07-21 Thread Pankaj Chaudhary
Hi, how i can use third party library while building own nginx module as i am using third party libraries. Thanks, Pankaj ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

so_keepalive option for outbound sockets

2016-07-21 Thread Aditya Umrani
Hello, I've configured the so_keepalive option for a server (this is also my default server). I do have other server configs listening to the same port. listen 9822 default_server so_keepalive=on; listen 29822 ssl http2 default_server so_keepalive=on; My sysctl settings are set

Re: how can i get nginx lib

2016-07-21 Thread CJ Ess
You can get the nginx source code from here: http://nginx.org/ Or here: https://github.com/nginx/nginx On Wed, Jul 20, 2016 at 3:51 PM, Thiago Farina wrote: > > > On Mon, Jun 27, 2016 at 8:37 AM, Pankaj Chaudhary > wrote: > >> >> >> Is there such thing? As far as I know it is distributed only

Re: Nginx $upstream_cache_status not available when used in rate limiting

2016-07-21 Thread linnading
Thanks Francis and Valentin! These options can help a lot to limit requests to upstream server, thought not related to rate limiting. Thanks! ~L Posted at Nginx Forum: https://forum.nginx.org/read.php?2,268345,268404#msg-268404 ___ nginx mailing li

Fwd: [njs] Updated README to reflect changes in HTTP and Stream modules.

2016-07-21 Thread Maxim Konovalov
Hello, For those who doesn't follow njs project closely: Roman and Igor just added njs support to the stream module and moved js scripting to separate files. More details in the project README file you can find here: http://hg.nginx.org/njs/file/tip/README Forwarded Message Su