Добавлено время обработки запроса в access.log
This commit is contained in:
parent
4451b2a129
commit
25649c792d
1 changed files with 4 additions and 0 deletions
|
|
@ -14,6 +14,10 @@ events {
|
|||
include /etc/nginx/conf-enabled.d/*.conf;
|
||||
|
||||
http {
|
||||
log_format req_time '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for" $request_time';
|
||||
access_log /var/log/nginx/access.log req_time;
|
||||
proxy_temp_path /var/spool/nginx/tmp/proxy;
|
||||
fastcgi_temp_path /var/spool/nginx/tmp/fastcgi;
|
||||
client_body_temp_path /var/spool/nginx/tmp/client;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue