Fix Bad Gateway: Replace supervisor with entrypoint.sh, fix nginx.conf

This commit is contained in:
z0rayy
2026-06-10 17:26:17 +07:00
parent 7e956cc02e
commit 094329369e
3 changed files with 35 additions and 18 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
set -e
echo "==> Starting PHP-FPM..."
php-fpm -D
echo "==> Waiting for PHP-FPM to be ready..."
sleep 1
echo "==> Starting Nginx..."
exec nginx -g "daemon off;"