support container restarting
This commit is contained in:
parent
a0929f0059
commit
b6c804b68c
@ -11,6 +11,7 @@ for file in /etc/nginx/*/*.conf; do
|
|||||||
"${file}"
|
"${file}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
rm -f /etc/nginx/sites-enabled/redirect-*.conf
|
||||||
if [[ "${REDIRECT_MODE}" == "apex-to-www" ]]; then
|
if [[ "${REDIRECT_MODE}" == "apex-to-www" ]]; then
|
||||||
ln -s \
|
ln -s \
|
||||||
/etc/nginx/sites-available/redirect-apex-to-www.conf \
|
/etc/nginx/sites-available/redirect-apex-to-www.conf \
|
||||||
|
Loading…
Reference in New Issue
Block a user