Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How You Can Get The Current Time In Nginx?
Home
NGINX
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;
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: In Nginx, Explain How You Can Keep Double Slashes In Urls?
asked
Dec 16, 2019
in
NGINX
by
sharadyadav1986
#nginx-double-slashes
0
votes
Q: How You Can Start Nginx Through A Different Port Other Than 80?
asked
Dec 16, 2019
in
NGINX
by
sharadyadav1986
#nginx-port
0
votes
Q: How can you add module in the Nginx server?
asked
Oct 25, 2019
in
NGINX
by
rajeshsharma
nginx-server
nginx-module
0
votes
Q: You can ask Nginx to refresh its configuration file using _____________.
asked
Feb 3, 2020
in
NGINX
by
Tate
nginx
0
votes
Q: How Nginx Can Handle Http Requests?
asked
Dec 16, 2019
in
NGINX
by
sharadyadav1986
#nginx-http-request
0
votes
Q: Explain how you can get the current color of the current screen on the Ubuntu desktop?
asked
Mar 3, 2020
in
DevOps
by
rajeshsharma
#devops-ubuntu-desktop
0
votes
Q: What is the Configuration File for Nginx and where it can be in UNIX like Systems?
asked
Aug 5, 2020
in
NGINX
by
SakshiSharma
#nginx-configuration-file
#configuration-file-nginx
0
votes
Q: The event-polling nature of Nginx can be dealt with using _____________.
asked
Feb 3, 2020
in
NGINX
by
Tate
#nginx
0
votes
Q: Which of the following line can be used to install Nginx?
asked
Feb 3, 2020
in
NGINX
by
Tate
0
votes
Q: Nginx can be started using _____________.
asked
Feb 3, 2020
in
NGINX
by
Tate
#nginx
...