#!/usr/bin/env bash
echo "Fetching credentials from $REGISTRY_USERS"

curl -o /etc/nginx/.htpasswd $REGISTRY_USERS

/usr/sbin/nginx -c /etc/nginx/nginx.conf

#!/usr/bin/env bash
echo "Fetching credentials from $REGISTRY_USERS"

curl -o /etc/nginx/.htpasswd $REGISTRY_USERS

cat /etc/nginx/.htpasswd

/usr/sbin/nginx -c /etc/nginx/nginx.conf

Print the contents to be sure
Print the contents to be sure
