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)
Thu, Mar 21, 9:37 PM
Unknown Object (File)
Thu, Mar 21, 9:14 PM
Unknown Object (File)
Thu, Mar 21, 7:30 PM
Unknown Object (File)
Fri, Mar 15, 9:41 AM
Unknown Object (File)
Feb 22 2024, 4:26 PM
Unknown Object (File)
Jan 28 2024, 3:10 AM
Unknown Object (File)
Jan 26 2024, 12:36 AM
Unknown Object (File)
Jan 24 2024, 8:34 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.