From 917f85f0791a06caeb8246ea6d79df28fbf479ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 14 Jul 2023 16:27:38 +0200 Subject: [PATCH] chore(nginx): add $http_host to nodejs.org logs (#3420) --- ansible/www-standalone/resources/config/nodejs.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/www-standalone/resources/config/nodejs.org b/ansible/www-standalone/resources/config/nodejs.org index 4fa993ca0..866ef5b2f 100644 --- a/ansible/www-standalone/resources/config/nodejs.org +++ b/ansible/www-standalone/resources/config/nodejs.org @@ -1,5 +1,5 @@ -log_format nodejs '$remote_addr - $remote_user [$time_local] ' - '"$request" $status $body_bytes_sent ' +log_format nodejs '$remote_addr - $remote_user [$time_local] - ' + '$http_host - "$request" $status $body_bytes_sent ' '"$http_referer" "$http_user_agent" "$http_x_forwarded_for"'; server {