Skip to content

Latest commit

 

History

History

mailpot-web

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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.