use ngx_lua for 401 auth example: http://chenxiaoyu.org/2012/02/08/nginx-lua-401-auth.html
-- smallfish http://chenxiaoyu.org On Sun, Aug 25, 2013 at 2:53 PM, Christian Felsing <[email protected]>wrote: > Hello, > > I am new to nginx and have following problem: > > Nginx should be used as a reverse proxy and configured for client > certificate authentication. Backoffice application supports basic auth > only. > Apache 2.4 solution for that kind of problems is "Fake Basic Auth" so > backoffice application gets a remote_user and password generated from > client certificate presented by user. > > Example: > AuthBasicFake %{SSL_CLIENT_S_DN_CN} > %{sha1:passphrase-%{SSL_CLIENT_S_DN_CN}} > This set remote user to CN from client certifiate. > > is there a similar mechanism in Nginx? > > Does HttpLuaModule allow to fake a 401 authentication? > > best regards > Christian > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
