Skip to content

Conversation

@CasLubbers
Copy link
Contributor

No description provided.

})
export const TRUST_PROXY = num({
desc: 'Number of reverse proxies to trust for client IP detection (0 to disable, 1 for Kubernetes Ingress, 2 for LB + Ingress)',
default: 1,
Copy link
Contributor

@j-zimnowoda j-zimnowoda Dec 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should default be 2 as there is nginx ingress and istio GW ?
We could also enforce it on the apl-core level

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes good point

@CasLubbers CasLubbers enabled auto-merge (squash) December 29, 2025 12:34
@CasLubbers CasLubbers merged commit fefb72b into main Dec 29, 2025
8 checks passed
@CasLubbers CasLubbers deleted the APL-1411 branch December 29, 2025 12:37
Ani1357 pushed a commit that referenced this pull request Jan 6, 2026
* feat: add TRUST_PROXY configuration for client IP detection

* fix: set default to 2

---------

Co-authored-by: svcAPLBot <[email protected]>
(cherry picked from commit fefb72b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants