New answers tagged access-control
This is indeed the right approach. Include the auth_request module (not built by default) by recompiling nginx with --with-http_auth_request_module flag. With it you will be able to grant or deny access to content using the HTTP code of a subrequest sent to your application. Basically, you will write a controller in your application answering to requests ...
Top 50 recent answers are included