fix index in php mode
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-12-16 19:09:18 +01:00
parent 7b1a5fec6c
commit aff9d897c7
3 changed files with 40 additions and 2 deletions

View File

@@ -21,17 +21,22 @@ find "${WEBROOT}" -type f -exec chmod 0644 {} \;
case "${PHP}" in
"php84")
cp /app/nginx/php84.conf /etc/nginx/custom.d/
cp /app/nginx/default_php.conf /etc/nginx/http.d/default.conf
/usr/sbin/php-fpm84 -D
;;
"php83")
cp /app/nginx/php83.conf /etc/nginx/custom.d/
cp /app/nginx/default_php.conf /etc/nginx/http.d/default.conf
/usr/sbin/php-fpm83 -D
;;
"php82")
cp /app/nginx/php82.conf /etc/nginx/custom.d/
cp /app/nginx/default_php.conf /etc/nginx/http.d/default.conf
/usr/sbin/php-fpm82 -D
;;
*) ;;
*)
cp /app/nginx/default_nophp.conf /etc/nginx/http.d/default.conf
;;
esac
# start ssh