aschmelyun / docker-compose-wordpress

A docker-compose workflow for local WordPress development
242 stars 148 forks source link

Nginx: Permission denied #11

Open sajaddp opened 2 years ago

sajaddp commented 2 years ago

Hello I followed the instructions and the service ran completely. But when executing a domain address, Nginx has the following error:

nginx    | 2022/04/25 08:17:20 [error] 31#31: *4 "/var/www/html/index.php" is forbidden (13: Permission denied), client: xxxxxx, server: localhost, request: "GET / HTTP/1.1", host: "localhost"

My OS details:

Distributor ID: Linuxmint
Description:    Linux Mint 20.3
Release:    20.3
Codename:   una
isaltino commented 1 year ago

Estou enfrentando o mesmo problema.

GijsBarrezeele commented 1 year ago

I encountered the same problem. After some searching and testing, I found it worked when I removed $uri/ from location config in nginx -> default.conf file. I am using Windows 10 OS

image

image