mailpot/web
Manos Pitsidianakis 757c068dd4
Update stderrlog, tempfile dependencies
- Update stderrlog dependency to 0.6.0
- Update tempfile dependency to 3.9

Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2024-02-04 13:50:15 +02:00
..
src web: don't use carets (<,>) in URLs 2024-01-26 16:13:40 +02:00
.gitignore web: Add zstd compression feature for HTML templates 2023-04-24 19:42:15 +03:00
Cargo.toml Update stderrlog, tempfile dependencies 2024-02-04 13:50:15 +02:00
README.md web: add unit tests 2023-05-14 09:47:54 +03:00
build.rs web: add unit tests 2023-05-14 09:47:54 +03:00
rustfmt.toml Add rustfmt.toml symbolic links to each crate 2023-12-18 20:50:17 +02:00

README.md

mailpot web server

cargo run --bin mpot-web -- /path/to/conf.toml

Templates are compressed with zstd and bundled in the binary.

Configuration

By default, the server listens on 0.0.0.0:3000. The following environment variables can be defined to configure various settings:

  • HOSTNAME, default 0.0.0.0.
  • PORT, default 3000.
  • PUBLIC_URL, default lists.mailpot.rs.
  • SITE_TITLE, default mailing list archive.
  • SITE_SUBTITLE, default empty.
  • ROOT_URL_PREFIX, default empty.
  • SSH_NAMESPACE, default lists.mailpot.rs.