Custom Middleware for Django-Ratelimit with reverse proxy
Currently, the ratelimit by ip function doesn't work correctly in production due to the inability to get the IP address after the reverse-proxy. Added middleware to hopefully circumvent this (in shared > middleware) and enabled in settings.py