Files
docker-sigal/run.sh
2020-09-23 13:19:36 +02:00

12 lines
188 B
Bash
Executable File

#!/bin/bash
if [[ $HTPASSWD ]]
then
cp auth.conf /etc/nginx/conf.d/default.conf
envsubst < auth.htpasswd > /etc/nginx/auth.htpasswd
fi
sigal build
exec nginx -g "daemon off;"