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
@@ -176,6 +176,8 @@ Basic Auth can be enabled on the container with environment variable `PROXY_BASI
176
176
-`PROXY_BASIC_AUTH=user1:password1,user2:password2,user3:password3` adds basic auth feature to your configured `VIRTUAL_HOST` server root.
177
177
-`PROXY_BASIC_AUTH=example.com/api/v1/admin -> admin1:password1,admin2:password2` adds basic auth only to the location starting from `api/v1/admin`
178
178
179
+
**Note:** Basic authorization will be ignored if the container's host doesn't use `https`
180
+
179
181
## Default Server
180
182
When request comes for a server name that is not registered in `nginx-proxy`, It responds with 503 by default.
181
183
If you want the requested to be passed to a container instead, when setting up the container you can add `PROXY_DEFAULT_SERVER=true` environment along with `VIRTUAL_HOST`.
0 commit comments