What is the most simple way to findout what is your IP address. The most simple and fast way to use online free tool from upzilla.co
location /ip/ { gzip_static off; ssi on; index index.html; ssi_silent_errors on; }
Then in /ip/index.html I just add: REMOTE_ADDR: <!--#echo var="REMOTE_ADDR" -->
If that nginx node is behind a load balancer then a different variable than REMOTE_ADDR may be required. By not requiring javascript, one can use curl or any other command line https tool to get their IP.