Global Config

Example global config is shown below:

global:
  network:
    enforce_http: Bool
    nodelay: Bool
    reuse_address: Bool
    timeout: u64
  security:
    config:
      hide_folders: Bool
    tls:
      accept_invalid_hostnames: Bool
      insecure: Bool
      import_cert: String
    auth:
      client:
        api_key:
        basic:
        bearer:
        digest:
        jwks:
      whitelist:
        networks: Vec<CIDR>
        methods: Vec<Methods>

Config Item Details

NameDescriptionValue
global.network.enforce_httpEnforce http-type endpointsfalse
global.network.nodelayEnable TCP nodelay on packetsfalse
global.network.reuse_addressReuse sockets when establishing connectionsfalse
global.network.timeoutSet global connection timeoutfalse
global.security.config.hide_foldersReturn 404 for non-endpoints (folders)false
global.security.tls.accept_invalid_hostnamesAccept invalid hostnames when using httpsfalse
global.security.tls.insecureAccept incorrect certs when using httpsfalse
global.security.tls.import_certSpecify cert to import""
global.security.auth.clientSet default client auth (overridden at endpoint){}
global.security.auth.whitelist.networksSet default network whitelist[]
global.security.auth.whitelist.methodsSet default method whitelist[]