HTTP sub directives
sub_filter_once (http-sub)
Controls whether each configured search string is replaced once or repeatedly.
Formal Syntax & Structure
nginx syntaxnginx
sub_filter_once on | off;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| state | on | off | Default on: replace each configured search string once; off allows repeat matches. |
Working Example
Example Snippetnginx
sub_filter_once off;