Set the X-Real-IP header, so that the passenger nginx configuration does not filter out all the logs.
Level of urgency
[x] High
[ ] Moderate
[ ] Low
Why is this maintenance needed?
Currently, we aren't getting any logs when users go to allsearch.princeton.edu. If you curl localhost from within the boxes, it does appear in access.log, but if it comes via the load balancer, it gets filtered out.
Acceptance criteria
[ ] Traffic to allsearch.princeton.edu shows up in /var/log/nginx/access.log
[ ] Traffic to allsearch.princeton.edu shows up in datadog
What maintenance needs to be done?
Set the
X-Real-IP
header, so that the passenger nginx configuration does not filter out all the logs.Level of urgency
Why is this maintenance needed?
Currently, we aren't getting any logs when users go to allsearch.princeton.edu. If you
curl localhost
from within the boxes, it does appear in access.log, but if it comes via the load balancer, it gets filtered out.Acceptance criteria