8000 Limit exposed ports in template to 10 by mikfar · Pull Request #2494 · nginx-proxy/nginx-proxy · GitHub
[go: up one dir, main page]

Skip to content

Limit exposed ports in template to 10 #2494

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 5 commits into from
Jul 29, 2024
Merged

Limit exposed ports in template to 10 #2494

merged 5 commits into from
Jul 29, 2024

Conversation

mikfar
Copy link
Contributor
@mikfar mikfar commented Jul 28, 2024

This fixes the problem described in this issue where containers that expose a large number of ports will cause the template to render a line exceeding the max line length of Nginx.

Co-authored-by: Nicolas Duchon <nicolas.duchon@gmail.com>
@buchdag buchdag added the type/fix PR for a bug fix label Jul 29, 2024
@buchdag
Copy link
Member
buchdag commented Jul 29, 2024

Thanks for the PR @mikfar 👍

@buchdag buchdag merged commit c5f054e into nginx-proxy:main Jul 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/fix PR for a bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1000 exposed ports creates conf.d/default.conf that fails to parse and terminates nginx
2 participants
0