nginx-php-fpm
nginx-php-fpm copied to clipboard
Laravel doesn't work
Running:
docker run -d -p 80:80 --restart=unless-stopped wyveo/nginx-php-fpm:latest
I can see the index.php
generated automatically by Nginx, but when cloning the repository of a Laravel project on usr/share/nginx/html/
I get numerous errors, even with 777 permissions on files and folders.
Could you post some of the errors you're seeing?
change the nginx settings.
-
root point to the public folder root /usr/share/nginx/html/public;
-
location / location / { try_files $uri $uri/ /index.php?$query_string; }