You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I found out that it was a permission error, I checked that nginx was started by www-data, all files on my website were root:root, and had 777 permissions, I don't know why this happened
I have a question, my file permission is 777, why other groups do not have permission to access
Expected Behavior:
Context information:
Output of git rev-parse HEAD
{paste here}
Output of docker version
{paste here}
Output of docker-compose version
{paste here}
System info: Mac, Windows or Linux. Include which disto/version
{paste here}
Steps to reproduce the issue:
Stacktrace & Additional info:
{paste here}
The text was updated successfully, but these errors were encountered:
If you find that your permissions are correct, but nginx still cannot access the website due to permission problems, then the reason for the error may be that you are using vmware, and you need to add -o allow_other when sharing file directories.
change laradock/nginx/sites/default.conf
from:
root /var/www/public;
to
root /var/www;
=============
Same thing happened to me, I was going crazy with the 404...
Either - ../:/var/www becomes - ../:/var/www/public on docker-compoe.yml or the Nginx default site configurations needs to be updated.
Description:
Sorry, my English is very poor, I can only use Google to translate the problem I encountered. It may be a bit confusing
Expected Behavior:
Context information:
Output of
git rev-parse HEAD
Output of
docker version
Output of
docker-compose version
System info: Mac, Windows or Linux. Include which disto/version
Steps to reproduce the issue:
Stacktrace & Additional info:
The text was updated successfully, but these errors were encountered: