Page MenuHomePhorge

Run rc imap over nginx for 2fa with proxy protocol support
ClosedPublic

Authored by mollekopf on Jul 28 2022, 5:06 PM.
Tags
None
Referenced Files
F15072147: D3749.id.diff
Sat, Sep 7, 10:43 AM
Unknown Object (File)
Fri, Sep 6, 3:59 PM
Unknown Object (File)
Thu, Sep 5, 11:04 AM
Unknown Object (File)
Wed, Sep 4, 11:05 AM
Unknown Object (File)
Sat, Aug 31, 11:22 AM
Unknown Object (File)
Fri, Aug 30, 3:58 PM
Unknown Object (File)
Thu, Aug 29, 3:29 PM
Unknown Object (File)
Wed, Aug 28, 12:11 PM
Subscribers
None

Diff Detail

Repository
rK kolab
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39572
Build 16121: arc lint + arc unit

Event Timeline

mollekopf created this revision.
mollekopf added a reviewer: Restricted Project.Jul 28 2022, 5:08 PM
src/app/Http/Controllers/API/V4/NGINXController.php
158

Alec pointed out that instead of extracting the Proxy-Protocol-Addr here we could set the Client-Ip in NGINX on the request.

src/app/Http/Controllers/API/V4/NGINXController.php
158

I have tried this, but don't know how to set the client ip on the http subrequest of the mail module if at all possible.
So we'll stick with this approach until somebody figures out how to do it differently.

This revision was not accepted when it landed; it landed in state Needs Review.Sep 19 2022, 12:11 PM
This revision was automatically updated to reflect the committed changes.