Skip to content

Commit

Permalink
Ref #1286 - Fix path in authentication script
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsasha committed Mar 26, 2024
1 parent e5bfb4c commit c025ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/webserver/authentication.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ echo $MONITORING_AUTH_RAW|tr ',' '\n' >> /etc/nginx/htpasswd/monitoring.htpasswd

# enable basic auth when user/password is configured
if [ "$AUTH_ALL_URLS" != "False" ];then
echo 'auth_basic "Please enter your access username and password";auth_basic_user_file /etc/nginx/htpasswd/users.htpasswd;' > /etc/nginx/conf.d/basic_auth.conf
echo 'auth_basic "Please enter your access username and password";auth_basic_user_file /etc/nginx/htpasswd/external/users.htpasswd;' > /etc/nginx/conf.d/basic_auth.conf
fi

# create IP allow list
Expand Down

0 comments on commit c025ade

Please sign in to comment.