ssl test causes nginx to crash (SSL_do_handshake() failed)

2016-05-03 Thread kostbad
I tried to do use the ssltest from qualys.com: https://www.ssllabs.com/ssltest/ Every time i run it, my nginx server (ssl terminator) crashes and i have to restart it. I get the following error in my nginx logs: *734 SSL_do_handshake() failed (SSL: error:140A1175:SSL routines:SSL_BYTES_TO_CIPHER

location...nested location...which one is better?

2016-05-03 Thread meteor8488
Hi all, I'm running a website which is based on php. And I'm trying to use naxsi for my website. But it seems to enable naxsi, we need to put below line within a location: include /etc/nginx/naxsi.rules; And an interesting thing I found about location, is that people are using differ

HTTP2 Multiplexing

2016-05-03 Thread Muhui Jiang
Hi Different from HTTP1.1 pipeline, HTTP2 allows multiple request and response messages to be in flight at the same time. I was wondering what the strategy Nginx adopt to implement this main feature. Is every single stream correspond to a thread. If not, how can Nginx provide multiple parallel

Re: Trailing Slash redirection poblem

2016-05-03 Thread Francis Daly
On Mon, May 02, 2016 at 05:48:12PM +0500, Muhammad Yousuf Khan wrote: Hi there, > Thanks for the reply, actually we have 5 categories. and then we have > hundred plus post in each category. now when user click on our category. he > sees intro about the category and then list of all posts. > when

Re: Video & Slides for our first Bay Area OpenResty Meetup

2016-05-03 Thread Pasi Kärkkäinen
Hi, On Fri, Apr 29, 2016 at 03:08:06PM -0700, Yichun Zhang (agentzh) wrote: > Hello! > > On Fri, Apr 29, 2016 at 6:18 AM, Pasi Kärkkäinen wrote: > > > > One question about the new "ngx.balancer" Lua API .. with quick look I > > didn't notice anything related to upstream healthchecks.. is this so

Shared Memory Structure?

2016-05-03 Thread ben5192
I am storing things in a shared memory zone allocated with ngx_shared_memory_add and allocating each slab with ngx_slab_alloc_locked (as these items don’t need to be locked particularly). The problem I'm having is that I add the shared memory with exactly the amount I need. However, the final large