Change logs to show correct IP instead of load balancer
This commit is contained in:
7
.ebextensions/custom_log.config
Normal file
7
.ebextensions/custom_log.config
Normal 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
|
||||||
Reference in New Issue
Block a user