support container restarting

This commit is contained in:
Michael Contento 2017-03-28 21:28:56 +02:00
parent a0929f0059
commit b6c804b68c

View File

@ -11,6 +11,7 @@ for file in /etc/nginx/*/*.conf; do
"${file}"
done
rm -f /etc/nginx/sites-enabled/redirect-*.conf
if [[ "${REDIRECT_MODE}" == "apex-to-www" ]]; then
ln -s \
/etc/nginx/sites-available/redirect-apex-to-www.conf \