-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nginx permission denied #2464
Comments
I've got the same problem! |
@LexSombra I've found the solution that change user from root to normal user will fix this issue. |
Can you be a little more specific please? I'm having the same problem. |
@praguevara Run docker-compose command in normal user account, Maybe user docker have no permission in root directory |
I'm already running docker-compose from a normal user account. |
That's weird. It helps me that run docker-compose from a normal user account |
@praguevara @LexSombra I found that user www-data has no permission on /var/www, so you should chmod to 755 in nginx container |
This was some time ago, but I believe my problem was I had the folder on an NTFS drive, and that was messing with the permissions. |
Info:
$ docker --version
): 19.03.5$ git rev-parse HEAD
): 0d08602Issue:
Nginx has no permission for public/index.php,
I have tried change owner or permission in nginx container and workspace container
But still failed, and get logs in nginx error log as below
Expected behavior:
Reproduce:
Relevant Code:
The text was updated successfully, but these errors were encountered: