HTTP Properties

http.properties is used to configure the HTTP listener for TEDI.


Basic Settings

SettingDescription
hosthttp server hostname
portthe port to listen on
client.authunused
compressionenable compression
shutdown.max.wait.msat shutdown, max wait time in milliseconds for all in-flight requests to finish before the listener is closed
debugenables verbose http logging

TLS Settings

TEDI will default to reasonable settings for your inboud TLS connections, but you can customize the protocol, cipher suites, and other settings for your connections directly:

SettingDescription
tlsenables or disables TLS
tls.min.versionthe minimum tls protocol TEDI will used/accept for connections.
tls.cipher.suiteslist of preferred cipher suites; leave empty to use Golang defaults
tls.curve.preferencestls curve preferences; leave empty to use Golang defaults
debugenables verbose logging to TLS connections
tls.ocspplaceholder for cert revocation checking
tls.certx.509 certificate to present to clients
tls.keykey backing x.509 certificate
tls.caunused
mtls.enabledrequire mTLS for inbound http connections

Log Settings

The HTTP server has its own set of logs. You can customize the logging with the following settings:

SettingDescription
tlog.log.dirdirectory to write the log files
tlog.log.base.file.namelog filename prefix
tlog.log.base.file.extlog filename extension
tlog.file.log.enabledenable or disable file logging
tlog.stdout.enabledwrite the log to stdout
tlog.rotate.logenable or disable log rotation
tlog.rotate.max.file.sizeif log rotation is enabled, indicates the max file size in megabytes
tlog.levelthe level at which you want to log (DEBG,INFO,WARN,EROR,FATL)
tlog.patternyou can customize the logging pattern by indicating your own

TEDI always opens a new log at startup.