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

403 Forbidden response from NGINX #70

Open
seedhunt opened this issue Dec 10, 2019 · 4 comments
Open

403 Forbidden response from NGINX #70

seedhunt opened this issue Dec 10, 2019 · 4 comments

Comments

@seedhunt
Copy link

I'm NGINX Newbie.
There are no NGINX experts around me, I desperately need your help.

I compiled NGINX with the purge module.
I configured 'proxy_cache_purge PURGE from 127.0.0.1;' in location area named abc.com Server.

After request a sample.mp4 file, I executed curl but got a 403 response in localhost.

root@cdnlxnginx02:/etc/nginx/conf.d# curl -X PURGE -I http://abc.com/sample.mp4
HTTP/1.1 403 Forbidden
Server: nginx/1.17.0
Date: Mon, 09 Dec 2019 01:44:09 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 153
Connection: keep-alive

Can you help me how to purge running normally?
Thank you.

@maunier
Copy link

maunier commented Jun 1, 2020

have you solved the problem? I got the same problem

@vidocq1102
Copy link

i got same problem too, pls check this problem

@triauto
Copy link

triauto commented Feb 9, 2021

Hello,
I have the same problem.
How can I debug this

@vidocq1102
Copy link

I was resolve this problem. I was complie ngx_cache_purge from source from bellow acticle
https://github.com/torden/ngx_cache_purge
my nginx version 1.19.2

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

4 participants