HTTP sub directives
sub_filter_last_modified (http-sub)
Controls retention of source Last-Modified after substitution.
Formal Syntax & Structure
nginx syntaxnginx
sub_filter_last_modified on | off;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| state | on | off | Preserve the origin modification timestamp when appropriate for transformed content; default off. |
Working Example
Example Snippetnginx
sub_filter_last_modified off;