Blocking part of a website

You can enable blocking of a part of a website by using the Wallarm-NGINX configuration file.

To enable blocking, use the directives:

  • location – a NGINX directive.
  • wallarm_mode block – a Wallarm directive.

Enable blocking of a part of a website:

  1. Open for editing the configuration file in the /etc/nginx-wallarm directory.
  2. Set the part to block:

     http {
         wallarm_mode monitoring;
         server {
             location /<some_location>/ { 
                 wallarm_mode block;

    where /some_location/ is the part to block.

results matching ""

    No results matching ""