mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
* fix #653 : add basepath modification at runtime trough env vars * Fix typo in sed command * Another typo fix
This commit is contained in:
parent
3e7a3ddd8d
commit
912dab64f3
@ -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