Hi,

Is there a way to apply client authorization based on the result of a 
subrequest. If the subrequest returns a 2xx response code, the access is 
allowed. If it returns 401 or 403, the access is denied with the corresponding 
error code.

This is similar to: 
http://nginx.org/en/docs/http/ngx_http_auth_request_module.html

Is there an existing module or can this be scripted with lua?

Any suggestions?

Appreciate if you can share some links and sample code.

Thanks,
--
Gopal


Reply via email to