Closed withinboredom closed 1 year ago
No issue on my side with the latest version of the image:
docker pull dunglas/frankenphp
docker run --rm -e FRANKENPHP_CONFIG="worker ./public/worker.php" -p 80:80 -p 443:443 -v $(pwd):/app -w /app dunglas/frankenphp
aha, I was missing the worker.php
part. I thought worker ./public/worker.php
implied it was to run worker.php
for every request.
Ok got it! So there is a bug: a 404 should be thrown, the server should not hang.
PHP file
Then:
When I curl localhost, it just hangs forever. @dunglas, can you reproduce this or am I doing something wrong?