How to fix nginx "file not found" when running php-fpm in alpine image docker
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=RYLIY--iyCQ
i installed nginx and php-fpm in apline image, and i created a file called index.php under /var/www/localhost/htdocs/, when i open on the browser, http://localhost:1166/index.php it shown an error : file not found
the issue is caused by your nginx configuration is bad.
this video will help you how to fix nginx configuration correctly
Other Videos By Ambar Hasbiyatmoko
Tags:
docker
alpine
image
nginx
php
php-fpm
error
sock
fastcgi
htdocs
localhost
ubuntu
terminal
file not found
configuration
http
browser