support for extra host config
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -17,13 +17,20 @@ chown "${PUID}:${GROUPNAME}" "${WEBROOT}" -R
|
||||
find "${WEBROOT}" -type d -exec chmod 0755 {} \;
|
||||
find "${WEBROOT}" -type f -exec chmod 0644 {} \;
|
||||
|
||||
envsubst < /app/nginx.conf.tpl > /etc/nginx/http.d/default.conf
|
||||
|
||||
# start php
|
||||
case "${PHP}" in
|
||||
"php84") /usr/sbin/php-fpm84 -D ;;
|
||||
"php83") /usr/sbin/php-fpm83 -D ;;
|
||||
"php82") /usr/sbin/php-fpm82 -D ;;
|
||||
"php84")
|
||||
cp /app/nginx/php84.conf /etc/nginx/custom.d/
|
||||
/usr/sbin/php-fpm84 -D
|
||||
;;
|
||||
"php83")
|
||||
cp /app/nginx/php83.conf /etc/nginx/custom.d/
|
||||
/usr/sbin/php-fpm83 -D
|
||||
;;
|
||||
"php82")
|
||||
cp /app/nginx/php82.conf /etc/nginx/custom.d/
|
||||
/usr/sbin/php-fpm82 -D
|
||||
;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user