Skip to content
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

[bugfix] Fix server trying to listen twice on same address when LE enabled #557

Merged
merged 1 commit into from
May 12, 2022

Conversation

tsmethurst
Copy link
Contributor

@tsmethurst tsmethurst commented May 12, 2022

This PR fixes a bug where we weren't setting the listen address on the letsencrypt server properly, so that it was trying to listen on whatever port was configured for the main server. This was causing the main listener to then fail because the port was already in use.

This fix tested and working both in nginx with certs handled by nginx, and with a raw binary with certs handled by the built in le

@tsmethurst tsmethurst merged commit 898d256 into main May 12, 2022
@tsmethurst tsmethurst deleted the listen_fix branch May 12, 2022 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant