Remove deprecated features from config example
This commit is contained in:
parent
b2e3632b56
commit
85fd24180a
31
apiary.toml
31
apiary.toml
@ -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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user