Skip to content

Custom Middleware for Django-Ratelimit with reverse proxy

MariaV requested to merge ip_middleware into master

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

Merge request reports