From 6aa1c6f2210614eca4fa74670cb63675c2eec50c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 27 May 2025 19:52:00 -0500 Subject: [PATCH] httpd conf: Replace SERVER_NAME with Host --- files/etc/httpd/conf/httpd.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/etc/httpd/conf/httpd.conf b/files/etc/httpd/conf/httpd.conf index 1ec09bf..614b884 100644 --- a/files/etc/httpd/conf/httpd.conf +++ b/files/etc/httpd/conf/httpd.conf @@ -189,7 +189,7 @@ LogLevel warn # The following directives define some format nicknames for use with # a CustomLog directive (see below). # - LogFormat "%h (for %{X-Forwarded-For}i as %{SERVER_NAME}e) %v %U %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined + LogFormat "%h (for %{X-Forwarded-For}i as %{Host}i) %v %U %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common