Skip to content
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 #11

Open
sajaddp opened this issue Apr 25, 2022 · 2 comments
Open

Nginx: Permission denied #11

sajaddp opened this issue Apr 25, 2022 · 2 comments

Comments

@sajaddp
Copy link

sajaddp commented Apr 25, 2022

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
Copy link

Estou enfrentando o mesmo problema.

@GijsBarrezeele
Copy link

GijsBarrezeele commented Mar 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants