Proxy questions

  • 27 February 2023
  • 6 replies
  • 270 views

We’re currently implementing as described here.

(1) Which response should we send back to the client-library if we decide to drop the request? (for various reasons)

(2) I assume the `ip` field needs to be replaced with the client’s IP?


6 replies

Userlevel 6
Badge +9

Thanks for posting here @ChristianS We’ll get someone from the team to take a look. 

Userlevel 5
Badge +8

Hi @ChristianS I replied to you over email!

Userlevel 6
Badge +9

Thank you @sydney.koh! 😃

How should i pass an original ip using nginx proxy?

Amplitude dashboards show me nginx ip.

Userlevel 5
Badge +8

@Dmitry Kozlov thanks for writing in about this, I’ve asked someone on the technical team to help answer this!

@Esther Trapadoux Do you have an update on this? I am also running into the issue where using a proxy results in using the IP address of the server instead. I also included the x-forwarded-for headers expecting that Amplitude would consume those instead but Amplitude is still recording the server’s IP instead of the client’s.

Reply