You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Use single quotes to prevent unwanted interpretation of `$` signs!
25
25
26
26
## Configuration
27
-
-`HTPASSWD` (default: `foo:$apr1$odHl5EJN$KbxMfo86Qdve2FH4owePn.`): Will be written on launch to the .htpasswd file (non-persistent)
28
-
-`FORWARD_PORT` (default: `80`): Port of the source container that should be forwarded
27
+
-`HTPASSWD` (default: `foo:$apr1$odHl5EJN$KbxMfo86Qdve2FH4owePn.`): Will be written to the .htpasswd file on launch (non-persistent)
28
+
-`FORWARD_PORT` (default: `80`): Port of the **source** container that should be forwarded
29
+
> The container does not need any volumes to be mounted! Nonetheless you will find all interesting files at `/etc/nginx/*`.
29
30
30
31
## Troubleshooting
31
32
```
32
33
nginx: [emerg] host not found in upstream "web" in /etc/nginx/conf.d/auth.conf:80
33
34
```
34
35
- You need to link the container as `web` (`--link foobar:web`)
36
+
35
37
---
36
38
- 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.
0 commit comments