Opened 8 years ago

#1114 new enhancement

New variable suggestion (Date/Time)

Reported by: mayhem30@… Owned by:
Priority: minor Milestone:
Component: other Version: 1.10.x
Keywords: Cc:
uname -a: N/A
nginx -V: N/A


Is it possible to add a new variable in Nginx that produces a GMT date in RFC 1123 format for us who would like to manually set a "last-modified" header (and others) in our configuration files?

The current $date_gmt produces a date/time format (RFC 850 HTTP/1.0) which is now obsolete.

All (date/time) headers require the new updated format.

Change History (0)

Note: See TracTickets for help on using tickets.