proxy_set_header X-Time (TIME)

dhaval d. lists at ruby-forum.com
Mon Jan 9 19:18:17 UTC 2012


you can use $time_local in order to do that.

hirenshah.05 wrote in post #1040101:
> Hi,
>
> I want add Current Time or Request Time in my header.
>
> Please let me know which variable I can use in,
>
> add_header X-Time $(TIME)
> proxy_set_header X-Time $(TIME)
>
>
> Thanks,
> Hiren
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,220970,220970#msg-220970

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list