Re: Dynamic/Wildcard SSL certificates with SNI ?

2015-01-15 Thread Rainer Duffner
> Am 15.01.2015 um 20:50 schrieb Gabriel L. Somlo : > > Hi, > > I'm working on a "Web simulator" designed to serve a large number of > web sites on a private, self-contained network, where I'm also in > control of issuing SSL certificates. > > The relevant bits of my nginx.conf look like this:

Dynamic/Wildcard SSL certificates with SNI ?

2015-01-15 Thread Gabriel L. Somlo
Hi, I'm working on a "Web simulator" designed to serve a large number of web sites on a private, self-contained network, where I'm also in control of issuing SSL certificates. The relevant bits of my nginx.conf look like this: server { listen 80 default_server; server_name $http_

Getting expiration date of client certificate

2015-01-15 Thread sandeepkolla99
Hi, I wanted to extract client certificate expiration date in nginx.conf. I have the below map command to extract CN name of client certificate. Do you know if any variables/directives nginx supports to extract client certificate expiration date? map $ssl_client_s_dn $ssl_client_s_dn_cn {

Re: Upstream Keepalive connection close

2015-01-15 Thread Maxim Dounin
Hello! On Thu, Jan 15, 2015 at 10:53:40AM -0500, Gona wrote: > So my understanding from this is - the race condition is possible and when > it happens with one server in the upstream block or "proxy_next_upstream" > set to OFF, Nginx will return back an error without retrying. Is this > right? Y

Re: Adding timer in nginx.c main

2015-01-15 Thread Nikhita
Hi Maxim, I shifted the timer to ngx_epoll_module.c and called it from ngx_epoll_init. My handler is still not getting invoked... What would be the right way of adding a timer ? Writing a new module all together ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256066,256129#msg-25612

Re: Upstream Keepalive connection close

2015-01-15 Thread Gona
Hi Maxim, Thanks for the response. So my understanding from this is - the race condition is possible and when it happens with one server in the upstream block or "proxy_next_upstream" set to OFF, Nginx will return back an error without retrying. Is this right? Thanks, Gopala Posted at Nginx For

Rsync access to Nginx repositories

2015-01-15 Thread Sebastian Stabbert
Hey everyone, We would like to use the debian repo from nginx.org on about 15.000 servers and so wanted to setup a mirror at ftp.hosteurope.de( ftp://ftp.hosteurope.de/mirror/ ), like we do with debian and many other FOSS-projects. Unfortunately there does not seem to be rsync access to any of

Re: How to return a cookie to a client when auth_request is used?

2015-01-15 Thread Maxim Dounin
Hello! On Thu, Jan 15, 2015 at 03:11:23AM -0500, nginxuser100 wrote: > Hi, > > Question 1: > > I would like to have an FastCGI authentication app assign a cookie to a > client, and the Fast Auth app is called using auth_request. The steps are as > follows: > > 1. Client sends a request > 2. N

Re: Restrict URL access with pwd

2015-01-15 Thread itpp2012
For example: http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html Posted at Nginx Forum: http://forum.nginx.org/read.php?2,256114,256115#msg-256115 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Restrict URL access with pwd

2015-01-15 Thread JACK LINKERS
Hi all, How can I restrict access to my website with a password like with a .htaccess file please? Thanks ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

How to return a cookie to a client when auth_request is used?

2015-01-15 Thread nginxuser100
Hi, Question 1: I would like to have an FastCGI authentication app assign a cookie to a client, and the Fast Auth app is called using auth_request. The steps are as follows: 1. Client sends a request 2. NGINX auth_request forwards the request to a FastCGI app to authenticate. 3. The authenticat