wyveo / nginx-php-fpm

Nginx + PHP-FPM 8.2.x / 8.1.x / 8.0.x / 7.4.x / 7.3.x / 7.2.x / 7.1.x / 7.0.x + Composer built on Debian (Bullseye/Buster) image
https://hub.docker.com/r/wyveo/nginx-php-fpm
MIT License
343 stars 248 forks source link

Getting 500 after startup with Laravel #13

Closed Codingjames closed 3 years ago

Codingjames commented 3 years ago

I used these command with nomal index.php It's ok. When i deployed laravel i got error 500. Help me please

docker pull wyveo/nginx-php-fpm
docker run --name ams -p 8001:80  -v /var/www/html/nginx-php/ams-v2/public:/usr/share/nginx/html wyveo/nginx-php-fpm:latest
colinwilson commented 3 years ago

Have you tried mounting a custom laravel nginx configuration at /etc/nginx/conf.d/default.conf?

Codingjames commented 3 years ago

Have you tried mounting a custom laravel nginx configuration at /etc/nginx/conf.d/default.conf?

Thank you, It's work