Re: Accessing HTTP request headers in nginx module

2014-03-31 Thread Mapper Uno
I could finally get hold of all the http header fields. A nice link that describes how to access the headers http://wiki.nginx.org/HeadersManagement Thanks for all the replies. Mapper Uno wrote in post #1141373: > Thanks Maxim for your reply. Since I am newbie, please excuse my > questions. I

Re: Defining a default server for when vhost does not exist for requested hostname (including blank hostname), for http and https

2014-03-31 Thread Ben Johnson
On 3/28/2014 1:58 PM, Maxim Dounin wrote: > Nobody care enough to submit a patch. > Likely due to the fact that SNI isn't considered to be an option > for serious SSL-enabled sites anyway due to still limited > client-side support, see here for details: > > http://en.wikipedia.org/wiki/Server_Na

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

2014-03-31 Thread jakubp
Hi I am struggling with the very same issue at the moment... If I read the right the code correctly all that nginx cares about is cache size, keys zone size is not checked at all (except when more space needs to be allocated). ngx_http_file_cache_manager(void *data) { // if (size < cach

Re: Transforming nginx for Windows

2014-03-31 Thread tonyschwartz
Trying now, will let you know how it goes. Thanks! Posted at Nginx Forum: http://forum.nginx.org/read.php?2,242426,248876#msg-248876 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Handling large POST data in nginx module

2014-03-31 Thread Maxim Dounin
Hello! On Sun, Mar 30, 2014 at 12:20:30PM +0200, Mapper Uno wrote: > Hi, > > I wrote an nginx module that handles POST data and returns back the same > (something similar to echo_read_request_body in echo module) however, > in echo module the input buffer is passed as is to output buffer. > How

Re: Unable to get large POST data in post handler nginx module

2014-03-31 Thread Maxim Dounin
Hello! On Sun, Mar 30, 2014 at 10:53:33AM +0200, Mapper Uno wrote: > Hi, > > I am writing an nginx module that processes POST requests. For small > data typically less than 1000 bytes, the module successfully receives > data. However, for larger data > 1000 bytes or so, I get NULL. > > ngx_

Re: Custom error page on SSL negotiation failure

2014-03-31 Thread Kiril Kalchev
Hi, Thank you very much for the fast response. It turns out that I have somehow missed the response. Variable ssl_protocol is what I need. Regards, Kiril On Mar 17, 2014, at 5:32 PM, Lukas Tribus wrote: > Embedded Variables smime.p7s Description: S/MIME cryptographic signature _

Re: SSL session cache lifetime vs session ticket lifetime

2014-03-31 Thread Maxim Dounin
Hello! On Fri, Mar 28, 2014 at 11:38:53PM +0400, Valentin V. Bartenev wrote: > On Thursday 27 March 2014 20:23:15 Maxim Dounin wrote: > > Hello! > > > > On Wed, Mar 26, 2014 at 01:34:19PM +0400, kyprizel wrote: > > > > > will be "log_alloc_failures" better? > > > > I think something like "log_