| Syntax: | sub_filter string replacement |
| Default: | |
| Context: | http server location |
| Reference: | sub_filter |
sub_filter allows replacing some text in the nginx response with some other text, independently of the source of the data. The matching is case-insensitive. Substitution text may contain variables. Only one substitution rule per location is supported.