Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🚀Added support for wirting V2 Proxy Protocol headers Upstream#992

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
mdewitt11 wants to merge10 commits intonginx:master
base:master
Choose a base branch
Loading
frommdewitt11:feature/PROXY_V2_SUPPORT

Conversation

@mdewitt11
Copy link

@mdewitt11mdewitt11 commentedNov 19, 2025
edited
Loading

fixes:#970

Add support for writing Proxy Protocol v2 headers upstream

This PR introduces support for sending Proxy Protocol v2 headers to upstream servers.
Implementing v2 resolves issues where headers previously had to be resent repeatedly and provides a more compact, efficient header format compared to Proxy Protocol v1.

For additional context, see issue#970.

mdewitt11and others added3 commitsNovember 18, 2025 16:02
- Implemented ngx_proxy_protocol_v2_write() to generate PROXYv2 headers- Supports both IPv4 and IPv6 addresses and ports- Added configuration directive `proxy_protocol_version 2` to enable v2- Updated stream module to send PROXYv2 header to upstreams- Tested with netcat and Python decoder to verify header correctness
@github-actions
Copy link

github-actionsbot commentedNov 19, 2025
edited
Loading

✅ All required contributors have signed the F5 CLA for this PR. Thank you!
Posted by theCLA Assistant Lite bot.

@mdewitt11
Copy link
Author

I have hereby read the F5 CLA and agree to its terms

@mdewitt11mdewitt11 changed the titleAdded support for wirting V2 proxy protocol headers upstreamAdded support for wirting V2 Proxy Protocol headers UpstreamNov 22, 2025
@ecraven
Copy link

this is something I just ran into, and would love to have. I hope this can be merged in some way ;)

mdewitt11 reacted with thumbs up emoji

@mdewitt11mdewitt11 changed the titleAdded support for wirting V2 Proxy Protocol headers Upstream🚀Added support for wirting V2 Proxy Protocol headers UpstreamDec 17, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add support for writing PROXY protocol v2 to upstream

2 participants

@mdewitt11@ecraven

[8]ページ先頭

©2009-2025 Movatter.jp