mox/http
Mechiel Lukkien 6706c5c84a
add basic webserver that can do most of what i need
- serve static files, serving index.html or optionally listings for directories
- redirects
- reverse-proxy, forwarding requests to a backend

these are configurable through the config file. a domain and path regexp have to
be configured. path prefixes can be stripped.  configured domains are added to
the autotls allowlist, so acme automatically fetches certificates for them.

all webserver requests now have (access) logging, metrics, rate limiting.
on http errors, the error message prints an encrypted cid for relating with log files.

this also adds a new mechanism for example config files.
2023-02-28 22:19:24 +01:00
..
account.go fix 3 cases of shadowed variables (other than "err") 2023-02-16 13:24:51 +01:00
account.html explain to user they should pick a random, unguessable password 2023-02-27 21:29:27 +01:00
account_test.go change mox to start as root, bind to network sockets, then drop to regular unprivileged mox user 2023-02-27 12:19:55 +01:00
accountapi.json add funtionality to import zip/tgz with maildirs/mboxes to account page 2023-02-16 09:57:27 +01:00
admin.go connecction -> connection 2023-02-28 20:43:31 +01:00
admin.html explain to user they should pick a random, unguessable password 2023-02-27 21:29:27 +01:00
admin_test.go change mox to start as root, bind to network sockets, then drop to regular unprivileged mox user 2023-02-27 12:19:55 +01:00
adminapi.json on admin page, show warning when user hasn't enabled "check updates" 2023-02-27 15:03:37 +01:00
autoconf.go support cram-md5 authentication for imap and smtp 2023-02-05 16:29:03 +01:00
autoconf_test.go mox! 2023-01-30 14:27:06 +01:00
import.go change mox to start as root, bind to network sockets, then drop to regular unprivileged mox user 2023-02-27 12:19:55 +01:00
mtasts.go add basic webserver that can do most of what i need 2023-02-28 22:19:24 +01:00
mtasts_test.go mox! 2023-01-30 14:27:06 +01:00
web.go add basic webserver that can do most of what i need 2023-02-28 22:19:24 +01:00
webserver.go add basic webserver that can do most of what i need 2023-02-28 22:19:24 +01:00