Skip to content

Commit 511c1a3

Browse files
committed
httpd config: Remove X-Forwarded-For from LogFormat
This reverts commit 63175c1. Trying to debug an outage that may have been caused by it.
1 parent 439e7e5 commit 511c1a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/etc/httpd/conf/httpd.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ LogLevel warn
189189
# The following directives define some format nicknames for use with
190190
# a CustomLog directive (see below).
191191
#
192-
LogFormat "%h (for %{X-Forwarded-For}i) %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
192+
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
193193
LogFormat "%h %l %u %t \"%r\" %>s %b" common
194194

195195
<IfModule logio_module>

0 commit comments

Comments
 (0)