wikindx/nginx/files/entryPoint.sh

10 lines
202 B
Bash
Raw Normal View History

#!/bin/bash
if [ -z ${WIKINDX_FPM_URL} ]; then
echo "required parameter WIKINDX_FPM_URL missing"
exit 255
fi
sed -i s/\<WIKINDX_FPM\>/${WIKINDX_FPM_URL}/ /etc/nginx/http.d/default.conf
nginx