Opened 5 years ago

Closed 5 years ago

#2494 closed change (fixed)

Configure server16 to resolve IP addresses properly when access is coming through beta.adblockplus.org

Reported by: trev Assignee: trev
Priority: P3 Milestone:
Module: Infrastructure Keywords:
Cc: matze, fred Blocked By:
Blocking: #2035 Platform: Unknown
Ready: yes Confidential: no
Tester: Verified working: no
Review URL(s):

http://codereview.adblockplus.org/6599922220531712/
http://codereview.adblockplus.org/4757418294640640/

Description

Background

Currently, our beta.adblockplus.org webserver will act as a reverse proxy for forum and blog functionality - these are still hosted on server16. Once beta.adblockplus.org becomes adblockplus.org and people start using it to access our forums this will result in the wrong IP address (that of beta.adblockplus.org) to be stored in the logs.

What to change

Make sure the web server respects X-Forwarded-For header for these accesses.

Change History (5)

comment:1 Changed 5 years ago by matze

  • Cc fred added

comment:2 Changed 5 years ago by trev

  • Owner set to trev

comment:3 Changed 5 years ago by trev

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:4 Changed 5 years ago by trev

  • Review URL(s) modified (diff)

comment:5 Changed 5 years ago by trev

  • Resolution set to fixed
  • Status changed from reviewing to closed

Fixed and deployed: https://hg.adblockplus.org/infrastructure/rev/bca5b64594b6

Verified that the IP addresses show up correctly in the logs now.

Note: See TracTickets for help on using tickets.