wikindx/nginx/files/entryPoint.sh
Dominik Meyer 53333aebca
MOD: update and new structure
The structure of the wikindx container has been totally reworked and
now uses two containers, one running php-fpm and the second running
nginx.
2024-01-16 22:30:28 +01:00

10 lines
202 B
Bash

#!/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