Files
docker-sigal/run.sh

12 lines
188 B
Bash
Raw Normal View History

2016-08-29 15:51:09 +02:00
#!/bin/bash
if [[ $HTPASSWD ]]
then
cp auth.conf /etc/nginx/conf.d/default.conf
envsubst < auth.htpasswd > /etc/nginx/auth.htpasswd
fi
sigal build
2020-09-23 13:19:36 +02:00
exec nginx -g "daemon off;"
2016-08-29 15:51:09 +02:00