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
Unknown Object (File)
Tue, May 28, 6:42 AM
Unknown Object (File)
Sat, May 25, 7:10 AM
Unknown Object (File)
Fri, May 24, 11:06 AM
Unknown Object (File)
Tue, May 21, 6:12 AM
Unknown Object (File)
Mon, May 20, 6:44 AM
Unknown Object (File)
Sun, May 19, 6:53 AM
Unknown Object (File)
Sun, May 19, 2:28 AM
Unknown Object (File)
Thu, May 9, 2:29 AM
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.