Remove deprecated features from config example

This commit is contained in:
Torjus Håkestad 2025-03-19 22:36:46 +01:00
parent b2e3632b56
commit 85fd24180a
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -38,7 +38,7 @@ LogLevel = "INFO"
# Enable access logging # Enable access logging
# Default: true # Default: true
AccessLogEnable = true AccessLogEnable = true
# Disable logging of successful requests to metrics endpoint # Disable logging of requests to metrics endpoint
# Default: false # Default: false
AccessLogIgnoreMetrics = false AccessLogIgnoreMetrics = false
# Address and port to listen to # Address and port to listen to
@ -63,32 +63,3 @@ CacheDir = "/var/apiary/certs"
# Default: true # Default: true
RedirectHTTP = true RedirectHTTP = true
[Ports]
# Enable the port listener.
# Default: false
Enable = false
# Which address to listen on.
# Default: "" (listen to all addresses)
Addr = ""
# Which TCP ports to listen to.
# Default: []
TCPPorts = ["25"]
# Which UDP ports to listen to.
# Default: []
UDPPorts = ["25"]
[SMTP]
# Enable the port listener.
# Default: false
Enable = true
# Which address and port to listen on.
# Default: ":25"
Addr = ":25"
# Enable collecting prometheus metrics
# Default: false
EnableMetrics = true