Only allow certain IPs to access the server in reverse proxy

remote_ip is not a directive, it’s a matcher.

And read about the named matcher syntax here:

You’d use it something like this:

@blocked not remote_ip <ip1> <ip2> <ip3>
respond @blocked "Nope" 403
4 Likes