mox/autotls
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
..
autotls.go add basic webserver that can do most of what i need 2023-02-28 22:19:24 +01:00
autotls_test.go add basic webserver that can do most of what i need 2023-02-28 22:19:24 +01:00