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

Proxy Protocol Support#2587

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
antoniomika wants to merge2 commits intonginx-proxy:main
base:main
Choose a base branch
Loading
fromantoniomika:am/proxy-protocol

Conversation

antoniomika
Copy link

Similar to#1487, I took a look at adding proxy-protocol support to this project.

The changes included here add a newENABLE_PROXY_PROTOCOL env var, which will enable proxy-protocol support for all docker-gen created listeners. Because settingproxy_protocol on alisten enables the functionality for allserver's that use the same port, I opted to make this option global.

Unlike the other PR, I decided to map thex-forwarded-for (andx-forwarded-port) entry to conform with current use-cases. If setting the real ip module settings is desired, there already exists methods for adding other configurations to the template.

I also added tests to verify this functionalityDOES NOT break or modify any of the current proxy header use cases. This feature is opt-in, as nginx will stop responding to HTTP requests that aren't made using the proxy protocol.

@antoniomikaantoniomika changed the titleAm/proxy protocolProxy Protocol SupportFeb 18, 2025
@buchdagbuchdag added the type/featPR for a new feature labelFeb 22, 2025
@bvli
Copy link

I'd like to see this feature implemented as well.. Are there any reason for not merging this PR?

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
type/featPR for a new feature
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@antoniomika@bvli@buchdag

[8]ページ先頭

©2009-2025 Movatter.jp