Permalink
Browse files

fix #653 : add basepath modification at runtime trough env vars (#654)

  • Loading branch information...
svidrascu authored and DenysVuika committed Sep 21, 2018
1 parent 9a030cd commit 3c6ec05e266412e2bd0da8bea2c79c1cd6c56f93
Showing with 3 additions and 0 deletions.
  1. +3 −0 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;"

0 comments on commit 3c6ec05

Please sign in to comment.