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 (#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

Bwko/gitea,vdbt/gitea,Bwko/gitea,typeless/gitea,vdbt/gitea,cez81/gitea,cez81/gitea,sapk-fork/gitea,lafriks/gitea,cez81/gitea,typeless/gitea,go-gitea/gitea,sapk-fork/gitea,kubatyszko/gitea,sapk-fork/gitea,typeless/gitea,vCaesar/gitea,typeless/gitea,vCaesar/gitea,Bwko/gitea,lafriks/gitea,go-gitea/gitea,lafriks/gitea,sapk-fork/gitea,kubatyszko/gitea,kubatyszko/gitea,go-gitea/gitea