| Syntax: | deny address | CIDR | all |
| Default: | |
| Context: | http server location limit_except |
| Reference: | deny |
Directive forbids access for the network or addresses indicated.
The NginxHttpAccessModule can be used in conjunction with the error_page directive to redirect unauthorised visitors to an alternative site: