0
votes

For a configuration like this, what will be that HTTP status code for the denied requests? Will it be 403 or 404?

location / {
    allow MY_WHITE_LISTED_IP;
    deny  all;
}

I looked in the documentation but cannot find anything

1
Wouldn't it be easiest to try it out?AKX

1 Answers

0
votes

A denied request will have a 403 Forbidden status.