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

NameTypeDescription
stateon | offPreserve the origin modification timestamp when appropriate for transformed content; default off.

Working Example

Example Snippetnginx
sub_filter_last_modified off;
Nginx Reference