Skip to content

Commit

Permalink
Mount default auth to tmp directory for #168
Browse files Browse the repository at this point in the history
  • Loading branch information
piercema committed Apr 3, 2023
1 parent 05d5917 commit a4de71c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nginx/scripts/docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ EOF
fi # basic vs. ldap

if [[ ! -f /etc/nginx/auth/htpasswd ]]; then
cp /etc/nginx/auth/default/htpasswd /etc/nginx/auth/
cp /tmp/auth/default/htpasswd /etc/nginx/auth/
rm -rf /tmp/auth/*
fi

# start supervisor (which will spawn nginx, stunnel, etc.) or whatever the default command is
Expand Down

0 comments on commit a4de71c

Please sign in to comment.