Files
docker-sigal/run.sh

12 lines
183 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
nginx -g "daemon off;"