It's certainly possible to do in a custom plugin. I'm working on one right now, 
actually, to do that, although it's unfortunately proprietary.
Another way to consider is to use map or regex_remap in remap.config to map all 
requests to a domain to an error page.
The standard header-rewrite plugin might work as well, by setting the return 
code.
 

    On Friday, November 18, 2016 11:51 AM, Di Li <[email protected]> wrote:
 

 Hi,
Question for Access control, I see there’s ip_allow.config, where we can define 
source ip and destination IP, as well as HTTP method. 
Is there a way to support domain based filter like @xxx.com may be not in this 
ip_allow but in other config or plugins ?

Thanks,Di Li


   

Reply via email to