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
F12238992: D3749.diff
Sun, May 19, 6:53 AM
Unknown Object (File)
Sun, May 19, 2:28 AM
Unknown Object (File)
Thu, May 9, 2:29 AM
Unknown Object (File)
Wed, May 8, 10:36 AM
Unknown Object (File)
Tue, May 7, 1:10 AM
Unknown Object (File)
Sat, May 4, 3:00 AM
Unknown Object (File)
Sun, Apr 21, 4:56 PM
Unknown Object (File)
Sun, Apr 21, 4:56 PM
Subscribers
None

Diff Detail

Repository
rK kolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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
182

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
182

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.