mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-26 17:24:45 +00:00
* fix #653 : add basepath modification at runtime trough env vars * Fix typo in sed command
This commit is contained in:
parent
3c6ec05e26
commit
776b2e9e18
@ -4,7 +4,7 @@ if [[ $ACSURL ]]; then
|
|||||||
sed -i s%{protocol}//{hostname}{:port}%"$ACSURL"%g /usr/share/nginx/html/app.config.json
|
sed -i s%{protocol}//{hostname}{:port}%"$ACSURL"%g /usr/share/nginx/html/app.config.json
|
||||||
fi
|
fi
|
||||||
if [[ $BASEPATH ]]; then
|
if [[ $BASEPATH ]]; then
|
||||||
sed -i s%href=\"./"%href=\""$BASEPATH"\"%g /usr/share/nginx/html/index.html
|
sed -i s%href=\"./\"%href=\""$BASEPATH"\"%g /usr/share/nginx/html/index.html
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nginx -g "daemon off;"
|
nginx -g "daemon off;"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user