NGINX Questions and Answers

How you can get the current time in Nginx?

To get the current time in Nginx, you have to use variables from SSI module, $date_gmt and $date_local.

  • Proxy_set_header THE-TIME $date_gmt;