Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 647
    • Issues 647
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 90
    • Merge requests 90
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Merge requests
  • !1608

Add `remote_ip` plug

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged minibikini requested to merge minibikini/pleroma:remote-ip into develop Aug 28, 2019
  • Overview 13
  • Commits 6
  • Pipelines 8
  • Changes 10
  • 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 Aug 28, 2019 by minibikini
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: remote-ip