Skip to content

Add `remote_ip` plug

minibikini requested to merge minibikini/pleroma:remote-ip into develop
  • Add remote_ip (our fork) to dependencies
  • Add a shim plug (Pleroma.Plugs.RemoteIp) to call remote_ip with runtime configuration
  • Add X-Forwarded-For support to installation/pleroma.nginx (please, review carefully, I'm not very good at Nginx)

I've googled X-Forwarded-For configuration for

  • Caddy: we have it enabled by proxy/transparent directive
  • Apache and Varnish Cache: looks like these two have it enabled by default in proxy mode, but I'm not 100% sure.
Edited by minibikini

Merge request reports