Login
Remember
Register
Ask a Question
How You Can Get The Current Time In Nginx?
0
votes
asked
Dec 16, 2019
in
NGINX
by
sharadyadav1986
How You Can Get The Current Time In Nginx?
#nginx-current-time
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 16, 2019
by
SakshiSharma
To get the current time in Nginx, you have to use variables from SSI module, $date_gmt and $date_local.
Proxy_set_header THETIME $date_gmt;
...