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:

1
2
3
4
if ($slow) {
    limit_rate 10k;
    break;
}
doc_nginx
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.