How to fix Nginx 403 Forbidden Error

preview_player
Показать описание
Learn how to fix the 403 forbidden error from Nginx by making sure you have your index directive configured and your permissions are correct.

Check out my vlog channel @TonyFlorida

#nginx #403forbidden
Рекомендации по теме
Комментарии
Автор

For testing purposes, I placed an application in the /root/test-app/ directory. Setting up Nginx I got a 403 forbidden error. I tried all the methods provided in this video which didn't work for me. But thanks for the video :).

Doing some digging I found out that if I'm running an application under the /root folder I need to specify the directive >> user root; << in the Nginx config file.

This tells Nginx to run the Nginx worker with root privileges. Thus it can access the /root directory. So that makes sense :).

shalindafernando
Автор

I am a Mandarin teacher and when my students sign in their Duolinggo sites, the 403 forbidden error will show up. My school IT manager says it is the Duolinggo website issue, not the issue from our school end. I am wondering if it is true and Duolingo just did their maintenance. From your video, it gave me the impression that my school should look into this. Is this right? Thanks

yuxiaolong
Автор

Hi, these videos are awesome. Keep it up bro.

umarchy
Автор

403 forbidden
nginx started appearing on my TV today. Help please.

cindyheadon
Автор

after that permissions i have problem wth premissions to venv folder.

adamfatyga
Автор

hi tony, i, m trying to install nginx on notice about it??

tonymiranda
Автор

What if we don't want to dig in to all of the complex coding? Isn't there a different way?

nateb.
Автор

what if you have more than one file in your root? how do you delete

jlaurice
Автор

I still get this problem, but i use docker container which uses nginx

CaptainMaderik
Автор

Hey Tony, When the domain doesn't get created immediatly, how long did you have to wait +- ?

yannickmussche
Автор

Hello, what happens if you're using an Android 11 cellphone? I'm familiar with the DOS screen on my laptop. Unaware it's possible on a cell?

francisgoretski
Автор

I got this error and couldn't find a way to fix it, but I installed some other browser and it's completely fine now.No errors.
Ps: I had difficulty doing it since I'm on mobile

kenziedoms
Автор

does this happen if u have a block of proxies on ur server?

mohanbharadwaj
Автор

hey tony, what program is that? the black box?

lutie-ynyu
Автор

Hi, did u learn about ocr ? If yes i hope you make some tutorial about ocr

synologictips
Автор

thanks for the video ..i followed your video but still getting the 403 error. 1. Checked the file system permission..entire directory structure has nginx:nginx permission. config file has correct entry index.php.
Any suggestion pls?

pijushmukherjee
Автор

As of writing I'm currently following your tutorial on how to deploy django on an ubuntu with nginx, I encountered this when I'm trying to access a media file I'll try this and see if it fixes it

jayveeascano
Автор

Call me lazy. But could you please do a video on the differences and/or similarities between wordops and cyberpanel. the use cases for each. And a speed battle! Thanks man

_Trakman
Автор

Do You Know 2009 Maserati Granturismo?

bavornwitss
Автор

Hi Tony, Could you also show how to fix http 405 error

santoshbhosale