Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.32 KB

toml-configuration.md

File metadata and controls

29 lines (23 loc) · 1.32 KB

TOML configuration

This is a full explanation of the supported TOML configuration files.

Until the 1.0 release, expect breaking changes in the TOML configuration format.

Full Configuration Tree

The following is a full tree of configuration options

  • system: struct
    • system.threads-per-service: integer - number of threads per service worker
  • basic-proxy: array
    • basic-proxy.listeners: array
      • basic-proxy.listeners.source: struct
        • basic-proxy.listeners.source.kind: String - "Tcp" or "Uds"
        • basic-proxy.listeners.source.value: struct
          • basic-proxy.listeners.source.value.addr: String - Host:Port
          • basic-proxy.listeners.source.value.tls: struct
            • basic-proxy.listeners.source.value.tls.cert_path: Path
            • basic-proxy.listeners.source.value.tls.key_path: Path
    • basic-proxy.connector: struct
      • basic-proxy.connector.proxy_addr: String - Host:Port
      • basic-proxy.connector.tls_sni: String
    • basic-proxy.path-control: struct
      • basic-proxy.path-control.upstream-request-filters: array
        • basic-proxy.path-control.upstream-request-filters.kind: String
        • basic-proxy.path-control.upstream-request-filters.*: Additional Key:Value parameters