I have a webserver set up with gunicorn and nginx and django.
I am accessing it remotely, and with this:
def testIP(request):
ip_address = utils.get_ip(request)
I just keep getting an ip address of 127.0.0.1 Like i said I am accessing it remotely and thus it should not be giving a local address.
I think it might have something to do with gunicorn, but I want to check here first to see if you guys have any insights.