#!/bin/sh set -e echo "${AUTH_USER}:$(openssl passwd -apr1 "${AUTH_PASS}")" > /etc/nginx/.htpasswd exec nginx -g "daemon off;"