No awards yet.


1 Posts
  • Published Question

    How to obtain user's IP address when using private IP for reverse proxy?

    I apologize for the poorly worded question/title but basically... I'm running a NodeJS-based API (express) behind an NGINX reverse proxy on DO. I'm trying to obtain the API requestor's IP address for each request, ho...
    Accepted Answer: Hey @schester44 Add the following proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; Regards Simon SnapShooter - Daily DigitalOcean Backups (ht...
    1 By schester44 Nginx