atuin/atuin-server/src
Eric Hodel d52e576129
feat: Add TLS to atuin-server (#1457)
* Add TLS to atuin-server

atuin as a project already includes most of the dependencies necessary
for server-side TLS.  This allows `atuin server start` to use a TLS
certificate when self-hosting in order to avoid the complication of
wrapping it in a TLS-aware proxy server.

Configuration is handled similar to the metrics server with its own
struct and currently accepts only the private key and certificate file
paths.

Starting a TLS server and a TCP server are divergent because the tests
need to bind to an arbitrary port to avoid collisions across tests.  The
API to accomplish this for a TLS server is much more verbose.

* Fix clippy, fmt

* Add TLS section to self-hosting
2023-12-27 14:15:48 +00:00
..
handlers feat: add some metrics related to Atuin as an app (#1399) 2023-11-18 18:07:23 +00:00
lib.rs feat: Add TLS to atuin-server (#1457) 2023-12-27 14:15:48 +00:00
metrics.rs feat: add metrics server and http metrics (#1394) 2023-11-16 23:18:13 +00:00
router.rs feat: add semver checking to client requests (#1456) 2023-12-20 09:03:04 +00:00
settings.rs feat: Add TLS to atuin-server (#1457) 2023-12-27 14:15:48 +00:00
utils.rs Allow server configured page size (#994) 2023-05-21 15:21:51 +00:00