Hey,
Noticed something odd with my nginx setup recently, and can't debug what's going on, so hoping someone has some ideas.
Deny just isn't denying. To test it, I've created a nice simple server block:
server {
listen [::]:80;
index index.php;
location / {
deny all;
}
}
And yet, as you can see for yourself, it serves up index.php happily.
I'm really quite stumped and would love some advice for what to do here.
I have another nginx setup where I've done the same test, and it denies as expected, so there must be something local in my config causing this.
cheers,
/ Brett