Re: Sending basic auth to "backend" servers

2016-05-26 Thread jrhodes
Maxim, thanks so much. I'll read those parts! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267156,267184#msg-267184 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx + lua-nginx, get ssl_session_id

2016-05-26 Thread Dimka
Yes, impossible. In my case, I can use remoteIP/Port, I think its enough to ident. I need it to prevent extra DB queries which done with first request. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,255157,267174#msg-267174 ___ nginx maili

Re: Sending basic auth to "backend" servers

2016-05-26 Thread Maxim Dounin
Hello! On Wed, May 25, 2016 at 04:02:46PM -0400, jrhodes wrote: > Hey everyone > > I'm trying to achieve something a little unique (have read a LOT of > documentation and posts) > > I want to use ngnix as a LB to a handful of squid servers I have to > distribute http requests on a round robin

Re: Nginx + lua-nginx, get ssl_session_id

2016-05-26 Thread Aapo Talvensaari
On 26 May 2016 at 14:04, Dimka wrote: > Face the same problem, empty $ssl_session_id variable. > > If ssl_session_ticket off, $ssl_session_id always contain ID. > > How can I identify client connection if no ssl session id available? > I would also know answer for this. It is kinda either: 1. se

Re: Nginx + lua-nginx, get ssl_session_id

2016-05-26 Thread Dimka
Face the same problem, empty $ssl_session_id variable. If ssl_session_ticket off, $ssl_session_id always contain ID. How can I identify client connection if no ssl session id available? I need "session" IDentificator to pass it to backend, which authorize requests by this ID. Posted at Nginx Fo