docker-compose-wordpress icon indicating copy to clipboard operation
docker-compose-wordpress copied to clipboard

Nginx: Permission denied

Open sajaddp opened this issue 3 years ago • 2 comments

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

sajaddp avatar Apr 25 '22 08:04 sajaddp

Estou enfrentando o mesmo problema.

isaltino avatar Dec 20 '22 17:12 isaltino

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

GijsBarrezeele avatar Mar 26 '23 15:03 GijsBarrezeele