mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
Update ngxpasswd
This commit is contained in:
parent
fd9239b4eb
commit
9538550212
@ -37,7 +37,7 @@ echo "- User : $USER"
|
|||||||
echo "- Password : $PASSWORD"
|
echo "- Password : $PASSWORD"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if [ -f "/sites-enabled/$NAME.conf" ]; then
|
if [ -f "/sites-enabled/$NAME.conf" ] && [ grep -q '#auth' /sites-enabled/$NAME.conf ]; then
|
||||||
echo "vhost at /sites-enabled/$NAME.conf detected."
|
echo "vhost at /sites-enabled/$NAME.conf detected."
|
||||||
|
|
||||||
while [[ "$ADD" != "y" && "$ADD" != "n" ]]; do
|
while [[ "$ADD" != "y" && "$ADD" != "n" ]]; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user