Change logs to show correct IP instead of load balancer

This commit is contained in:
Samer Albahra
2015-06-07 15:50:09 -05:00
parent 63999cd09f
commit 3bd0decc2d

View File

@@ -0,0 +1,7 @@
files:
"/etc/httpd/conf.d/custom_log.conf":
mode: "000644"
owner: root
group: root
content: |
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined