Fix entrypoint BASE_PATH
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
b4ad48f6d6
commit
08fb3fd41c
@ -4,7 +4,9 @@ if [[ "${TARGET_PORT}" != "" ]]; then
|
||||
sed -i -e "s,8123,${TARGET_PORT},g" /etc/nginx/sites-enabled/default
|
||||
fi
|
||||
if [[ "${BASE_PATH}" != "" ]]; then
|
||||
sed -i -e "s,/ident,${BASE_PATH}/ident,g" \
|
||||
sed -i -E "s,([ \^])/ident,\1${BASE_PATH}/ident,g" \
|
||||
/etc/nginx/snippets/active.location
|
||||
sed -i -E "s,host./api,host}${BASE_PATH}/api,g" \
|
||||
/etc/nginx/snippets/active.location
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user