Improve logging of proxied requests

Description

Change Nginx logging on frontend and API nodes so that it reports the X-Forwarded-For address, instead of the address of the proxy server.

Activity

Show:
Mark Breedlove
June 29, 2015, 11:19 PM

I'm doing this now because we've had a few API latency alerts in the past month, and troubleshooting them is very difficult without good IP address information. The last alert was for a 1/2-hour period of high response times (> 1 sec), so I'm taking care of this now so we can fix the issue, since it's not a lot of work.

Mark Breedlove
July 2, 2015, 1:35 AM
Mark Breedlove
July 8, 2015, 6:32 AM

Pull request merged.

Done

Assignee

Mark Breedlove

Reporter

Mark Breedlove

Labels

None

Priority

Medium