79355716

Date: 2025-01-14 16:47:23
Score: 2.5
Natty:
Report link

Use req.headers.get("x-forwarded-for") or req.headers.get("x-real-ip") to get the IP address in Next.js Middleware (Ensure nginx is properly configured to forward the IP-related headers).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohammad Rahimi