diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 556f478b7..df7a273a9 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -3,5 +3,8 @@ if [[ $ACSURL ]]; then sed -i s%{protocol}//{hostname}{:port}%"$ACSURL"%g /usr/share/nginx/html/app.config.json fi +if [[ $BASEPATH ]]; then + sed -i s%href=\"./"%href=\""$BASEPATH"\"%g /usr/share/nginx/html/index.html +fi nginx -g "daemon off;"