ngx_http_auth_request_module_example
![License: MIT](https://camo.githubusercontent.com/a4426cbe5c21edb002526331c7a8fbfa089e84a550567b02a0d829a98b136ad0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)
$ docker-compose build
$ docker-compose up -d
$ curl --user john:secret http://127.0.0.1
welcome!
$ curl http://127.0.0.1
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.17.2</center>
</body>
</html>
$ curl --user name:password http://127.0.0.1
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
<hr><center>nginx/1.17.2</center>
</body>
</html>