break

Syntax: break;
Default:
Context: server, location, if

Stops processing the current set of ngx_http_rewrite_module directives.

If a directive is specified inside the location, further processing of the request continues in this location.

Example:

if ($slow) {
    limit_rate 10k;
    break;
}
doc_nginx
2017-02-09 07:05:36
Comments
Leave a Comment

Please login to continue.