Fix Bad Gateway: Replace supervisor with entrypoint.sh, fix nginx.conf
This commit is contained in:
@@ -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;"
|
||||
Reference in New Issue
Block a user