Real IP cannot be seen by wordpress behind nginx proxy

  • fennng 
Before using nginx proxy, I can see users' IP addresses from the comment panel.
As I put wordpress behind nginx proxy, the nginx proxy's IP is captured by wordpress.
To fix this problem, I installed a plugin called Real IP Detector
This is a 2 years old plugin. But works just fine.