Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

287
Vistas
Nginx and AWS API Gateway with X-Forwarded-For header not showing the real IP

I have the following stack: Ngnix -> API Gateway -> Lambda (Integration Type)

On the Nginx configuration file, I am using the following directive: proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

When I'm checking logs,

  1. In API Gateway logs I see the load balancer IP
  2. In Lambda logs I do have access to the X-Forwarded-For header

My question: How can I add to API Gateway Logs the X-Forwarded-For header with its value, or even better, replace sourceIP value with the one we are forwarding.

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda