|
8 | 8 |  |
9 | 9 | [](https://beevelop.com) |
10 | 10 |
|
11 | | -# nginx-basic-auth |
| 11 | +# Docker Nginx Basic Auth - Simple Authentication Proxy |
12 | 12 |
|
13 | | ---- |
14 | | - |
15 | | -> Simple Docker image to provide basic authentication for a single other container. |
| 13 | +> Lightweight nginx reverse proxy with HTTP basic authentication for securing Docker containers and web applications. |
16 | 14 |
|
17 | 15 | ## Quickstart |
18 | 16 |
|
@@ -57,12 +55,32 @@ results in 2 users (`foo:bar` and `test:test`). |
57 | 55 |
|
58 | 56 | ## Troubleshooting |
59 | 57 |
|
60 | | -``` |
61 | | -nginx: [emerg] host not found in upstream "web" in /etc/nginx/conf.d/auth.conf:80 |
62 | | -``` |
| 58 | +**Error: `nginx: [emerg] host not found in upstream "web"`** |
| 59 | +- Ensure you link the container as `web` using `--link foobar:web` |
| 60 | + |
| 61 | +## Limitations |
63 | 62 |
|
64 | | -- You need to link the container as `web` (`--link foobar:web`) |
| 63 | +- SSL/HTTPS is not currently supported |
| 64 | +- For SSL requirements, consider using `jwilder/nginx-proxy` as a central gateway with `VIRTUAL_HOST` environment variable |
65 | 65 |
|
66 | 66 | --- |
67 | 67 |
|
68 | | -- SSL is unsupported ATM, but might be available in the near future. For now it might be a suitable solution to use another reverse proxy (e.g. `jwilder/nginx-proxy`) that acts as a central gateway. You just need to configure the `VIRTUAL_HOST` env and disable port forwarding. |
| 68 | +# All Docker Images |
| 69 | + |
| 70 | +| Badge | Pulls | Build Status | Release Date | Release | |
| 71 | +| --- | --- | --- | --- | --- | |
| 72 | +| [](https://github.com/beevelop/docker-base) |  |  |  |  | |
| 73 | +| [](https://github.com/beevelop/docker-java) |  |  |  |  | |
| 74 | +| [](https://github.com/beevelop/docker-android) |  |  |  |  | |
| 75 | +| [](https://github.com/beevelop/docker-android-nodejs) |  |  |  |  | |
| 76 | +| [](https://github.com/beevelop/docker-cordova) |  |  |  |  | |
| 77 | +| [](https://github.com/beevelop/docker-ionic) |  |  |  |  | |
| 78 | +| [](https://github.com/beevelop/docker-nginx-basic-auth) |  |  |  |  | |
| 79 | + |
| 80 | +--- |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | +### Use tags where possible, because |
| 85 | + |
| 86 | + |
0 commit comments