From b0c0a0f1f6ec3e4ee38d1318e104aabd7b27b4b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Le=20Meur?= <91831478+lemeurherve@users.noreply.github.com> Date: Fri, 4 Nov 2022 12:57:21 +0100 Subject: [PATCH] feat(artifact-caching-proxy): add response time to nginx logs (#297) --- charts/artifact-caching-proxy/Chart.yaml | 2 +- .../templates/nginx-default-configmap.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/artifact-caching-proxy/Chart.yaml b/charts/artifact-caching-proxy/Chart.yaml index c5efe3765..1c2c5f657 100644 --- a/charts/artifact-caching-proxy/Chart.yaml +++ b/charts/artifact-caching-proxy/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v2 description: artifact-caching-proxy is a Nginx caching proxy in front of repo.jenkins-ci.org name: artifact-caching-proxy type: application -version: 0.4.0 +version: 0.4.1 diff --git a/charts/artifact-caching-proxy/templates/nginx-default-configmap.yaml b/charts/artifact-caching-proxy/templates/nginx-default-configmap.yaml index be4fd08ab..fd1f2939f 100644 --- a/charts/artifact-caching-proxy/templates/nginx-default-configmap.yaml +++ b/charts/artifact-caching-proxy/templates/nginx-default-configmap.yaml @@ -23,7 +23,7 @@ data: default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' - '$status $body_bytes_sent "$http_referer" ' + '$status $body_bytes_sent $request_time "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main;