forgejo/cmd
Greg Karékinian 15d6cf179d 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
2018-12-11 10:46:12 -05:00
..
admin.go fix password variable shadowing (#5405) 2018-11-26 17:00:38 +02:00
cert.go
cmd.go Create AuthorizedKeysCommand (#5236) 2018-11-01 09:41:07 -04:00
dump.go
generate.go Implements generator cli for secrets (#3531) 2018-02-18 20:14:37 +02:00
hook.go remove unused db init on commands serv, update, hooks (#5225) 2018-10-30 12:41:25 +02:00
keys.go Create AuthorizedKeysCommand (#5236) 2018-11-01 09:41:07 -04:00
migrate.go Add command for migrating database (#4954) 2018-10-30 23:14:42 -04:00
serv.go Restrict permission check on repositories and fix some problems (#5314) 2018-11-28 19:26:14 +08:00
web.go Fix the Let's Encrypt handler by listening on a valid address (#5525) 2018-12-11 10:46:12 -05:00
web_graceful.go
web_windows.go