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
Copy file name to clipboardExpand all lines: docker/webserver/authentication.sh
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,8 @@
1
1
#!/bin/sh
2
+
if [ "$ENABLE_BATCH"= True ] && [ "$BASIC_AUTH_RAW$ALLOW_LIST"!="" ];then
3
+
echo"ENABLE_BATCH must not be combined with BASIC_AUTH_RAW or ALLOW_LIST"
4
+
fi
5
+
2
6
# enable basic auth when user/password is configured
3
7
if [ !"$BASIC_AUTH_RAW"="" ];then
4
8
echo'auth_basic "Please enter your username and password";auth_basic_user_file /etc/nginx/htpasswd/basic_auth.htpasswd;'> /etc/nginx/conf.d/basic_auth.conf
0 commit comments