Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: frontend proxies configuration (2) #78

Merged
merged 3 commits into from
Feb 17, 2025
Merged

Conversation

DavidePrincipi
Copy link
Member

Configure Traefik to trust X-Forwarded* headers from a list of IPs. The PR adds two actions to get/set the list of IPs:

  • set-trusted-proxies
  • get-trusted-proxies

Refs NethServer/dev#7305 NethServer/dev#7312

Set forwardedHeaders in Traefik static configuration
The PROXY_DEPTH environment variable is passed to Traefik and can be
referenced in IPAllowList strategy configuration to extract the client
IP address.
@DavidePrincipi DavidePrincipi merged commit eaa4198 into feat-7158 Feb 17, 2025
5 checks passed
@DavidePrincipi DavidePrincipi deleted the feat-7305-0 branch February 17, 2025 14:04
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.

2 participants