10000 fix: add proto to VIRTUAL_HOST_MULTIPORTS by buchdag · Pull Request #2561 · nginx-proxy/nginx-proxy · GitHub
[go: up one dir, main page]

Skip to content

fix: add proto to VIRTUAL_HOST_MULTIPORTS #2561

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

Merged
merged 3 commits into from
Jan 18, 2025
Merged

Conversation

buchdag
Copy link
Member
@buchdag buchdag commented Dec 8, 2024

As noticed in #2552, nginx-proxy currently only handle different protocols at the container level even when using multiple ports with VIRTUAL_HOST_MULTIPORTS.

This PR fix that by adding optional proto to VIRTUAL_HOST_MULTIPORTS.

@buchdag buchdag added the type/fix PR for a bug fix label Dec 8, 2024
@buchdag buchdag self-assigned this Dec 8, 2024
@buchdag
Copy link
Member Author
buchdag commented Dec 8, 2024

@Rolf-MP I pushed the 2561 / 2561-alpine tags with changes from this PR's branch, if you wish to test it.

@buchdag buchdag added the scope/multiport Issue or PR related to multi port proxying label Dec 8, 2024
@Rolf-MP
Copy link
Rolf-MP commented Dec 9, 2024

@Rolf-MP I pushed the 2561 / 2561-alpine tags with changes from this PR's branch, if you wish to test it.

Thanks a lot for picking this up - much appreciated! Absolutely will test/use it - will probably be early January but will post feedback.

@Rolf-MP
Copy link
Rolf-MP commented Jan 13, 2025

@Rolf-MP I pushed the 2561 / 2561-alpine tags with changes from this PR's branch, if you wish to test it.

I tested is and it works smoothly - thank you! Great that my workaround with an additional proxy container to unlock the upstream service can be omitted now. Would be great if this makes it into the main branch!

@buchdag buchdag marked this pull request as ready for review January 18, 2025 16:47
@buchdag
Copy link
Member Author
buchdag commented Jan 18, 2025

@Rolf-MP I'll try to add tests to this and merge it ASAP.

@buchdag buchdag force-pushed the fix/proto-with-multiports branch 3 times, most recently from 43da2a0 to 403251c Compare January 18, 2025 20:45
@buchdag buchdag force-pushed the fix/proto-with-multiports branch from 403251c to 34a33a2 Compare January 18, 2025 20:50
@buchdag buchdag merged commit dfbff1e into main Jan 18, 2025
4 checks passed
@buchdag buchdag deleted the fix/proto-with-multiports branch January 18, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope/multiport Issue or PR related to multi port proxying type/fix PR for a bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0