diff options
author | Greg Karékinian <greg@karekinian.com> | 2018-12-11 16:46:12 +0100 |
---|---|---|
committer | techknowlogick <hello@techknowlogick.com> | 2018-12-11 10:46:12 -0500 |
commit | 15d6cf179d3b97b2ab88ece39617bcc4db1a2026 (patch) | |
tree | 70fcac1eb7ff3e7c8069f1edf6a1ad368dd5a0a8 /docker | |
parent | 9681c8373426e8364760f033b9935b81b9276351 (diff) | |
download | gitea-15d6cf179d3b97b2ab88ece39617bcc4db1a2026.tar.gz gitea-15d6cf179d3b97b2ab88ece39617bcc4db1a2026.zip |
Fix the Let's Encrypt handler by listening on a valid address (#5525)
* Fix the Let's Encrypt handler by listening on a valid address
Also handle errors in the HTTP server go routine, return a fatal error
when something goes wrong.
Thanks to @gbl08ma for finding the actual bug
Here is an example of the error handling:
2018/12/11 14:23:07 [....io/gitea/cmd/web.go:87 func1()] [E] Failed to
start the Let's Encrypt handler on port 30: listen tcp 0.0.0.0:30: bind:
permission denied
Closes #5280
* Fix a typo
Diffstat (limited to 'docker')
0 files changed, 0 insertions, 0 deletions