-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
PROXY Protocol support #1882
base: develop
Are you sure you want to change the base?
PROXY Protocol support #1882
Conversation
…/nginx-proxy-manager:develop into develop
This is an automated message from CI: Docker Image for build 1 is available on DockerHub as Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes. |
Good News. |
Thanks for the work. I might hit you up about supporting this better in v3. I'm not familiar with this directive entirely. Why does this need a different port? Reading some documentation it doesn't suggest that I can't mix "normal" hosts with Also would you expect this to apply to Streams too? For reference I was reading this |
First question:
Empirical evidence :)
Second question:
Yes:
This PR does not cover streams because I don't use them, but I can try to add support for them if necessary. |
Can't wait. I'm tempted to fork and build my own image just to get this PR in. |
I'm looking forward to adding this option! |
I would like to see an addition where you can select if you want the normal ports enabled or only the proxy protocol ports, or both sets. If you enable both, you could use the normal ports within the local network for instance, with direct access, where you use the proxy protocol ports for outside access through a proxy. Otherwise, all local access would need to go through that outside proxy too. |
@jc21 Any status on if this will be merged or if changes are required? |
For those trying out this image instead of the default one, a few notes:
|
I added this to my modsec npm image and also added PROXY protocol in stream hosts. I am adding it to 404 and redirection hosts as well. baudneo/nginx-proxy-manager:latest |
Any update on this? |
I added PROXY protocol for proxy hosts and stream hosts in my image -> baudneo/Nginx-Proxy-Manager:bullseye Also includes crowdsec openresty bouncer and modsec. |
Docker Image for build 7 is available on DockerHub as Note: ensure you backup your NPM instance before testing this PR image! Especially if this PR contains database changes. |
@jc21 any chances, to merge this? I would really like to use the proxy protocol. |
I would like to use proxy protocol in productive as well :) |
@SBado Could you update it based on the upstream changes?
|
Any timeline on when this could be merged? |
Hi. why not include this feature on main package? |
bumping @SBado. Is it much work to finish? |
update it in new pull request #3537 |
PR is now considered stale. If you want to keep it open, please comment 👍 |
Bump |
So do I understand correctly, that Nginx Proxy Manger doesn't support PROXY Protocol until today? |
Please, UP! |
Would be really nice. Because without i can't use stalwart and i need to migrate to traefik And what about version 3 can't find any thread :( |
Closes NginxProxyManager#1114 Related To NginxProxyManager#1882 Related To NginxProxyManager#3537 Related To NginxProxyManager#3618 Co-authored-by: jwklijnsma <[email protected]> Co-authored-by: SBado <[email protected]>
Closes NginxProxyManager#1114 Related To NginxProxyManager#1882 Related To NginxProxyManager#3537 Related To NginxProxyManager#3618 Co-authored-by: jwklijnsma <[email protected]> Co-authored-by: SBado <[email protected]>
Closes NginxProxyManager#1114 Related To NginxProxyManager#1882 Related To NginxProxyManager#3537 Related To NginxProxyManager#3618 Co-authored-by: jwklijnsma <[email protected]> Co-authored-by: SBado <[email protected]>
Closes NginxProxyManager#1114 Related To NginxProxyManager#1882 Related To NginxProxyManager#3537 Related To NginxProxyManager#3618 Co-authored-by: jwklijnsma <[email protected]> Co-authored-by: SBado <[email protected]>
Closes NginxProxyManager#1114 Related To NginxProxyManager#1882 Related To NginxProxyManager#3537 Related To NginxProxyManager#3618 Co-authored-by: jwklijnsma <[email protected]> Co-authored-by: SBado <[email protected]>
This PR add basic support for PROXY protocol to NPM. I needed NPM to support PROXY protocol becasue I'm using two instances of HAProxy as a point of access to my services, as described here. It's been working fine for me so far, so I thought to share.
Note: to allow coexistence of "regular" and "PROXY protocol enabled" hosts, the latter ones will listen on port 88 and 444.
Related issue: #1114.