IP Restriction Configuration
Parameters
See plugin common configurations for configuration options available to all plugins.
-
whitelist—array[string]· optionalList of IPs to whitelist. Support IPv4, IPv6, and CIDR notations.
At least one of the
whitelistandblacklistshould be configured, but they cannot be configured at the same time. -
blacklist—array[string]· optionalList of IPs to blacklist. Support IPv4, IPv6, and CIDR notations.
At least one of the
whitelistandblacklistshould be configured, but they cannot be configured at the same time. -
message—string· optional · default:Your IP address is not allowedMessage returned when the IP address is denied access.
-
response_code—integer· optional · default:403Valid values: between 403 and 404 inclusive
HTTP response code returned when the request is rejected due to IP address restriction. Available in API7 Enterprise from version 3.10.3.