Important note

The EdgeRules feature is available only on Enterprise plans.

In some cases we have a need to selectively ignore query strings and properly honor other requests with different query strings. In the following example, we are going to ignore query strings selectively by object “v” and any value assigned to it:

NginX configuration block

location / {
        if ($query_string ~ (v=).*) {                                  
            set $args "";
        }
…
}

This rule sets query strings internally to be blank (set $args “”;) whenever we have “v=xxx” in query string ($query_string ~ (v=).*).