@softvisio/core
Version:
Softisio core
60 lines (48 loc) • 1.31 kB
YAML
- $id: config
type: object
properties:
listenIpFamily: { enum: [0, 4, 6] }
dockerEnabled: { type: boolean }
maxBodySize: { type: string, format: digital-size }
cacheEnabled: { type: boolean }
cacheMaxSize:
anyOf:
- type: "null"
- { type: string, format: digital-size }
cacheMinFree:
anyOf:
- type: "null"
- { type: string, format: digital-size }
cacheInactive: { type: string, format: interval }
cacheBypass: { type: boolean }
setRealIpFrom:
anyOf:
- type: "null"
- type: array
items:
anyOf:
- { type: string, format: kebab-case }
- { type: string, format: ip-subnet }
minItems: 1
uniqueItems: true
realIpHeader: { enum: [x-real-ip, x-forwarded-for] }
localAddress:
anyOf:
- const: "unix:"
- { type: string, format: ip-address+port }
sslProtocols: { type: string }
sslEcdhCurve: { type: string }
sslCiphers: { type: ["null", string] }
additionalProperties: false
required:
- listenIpFamily
- dockerEnabled
- maxBodySize
- cacheEnabled
- cacheInactive
- cacheBypass
- realIpHeader
- localAddress
- sslProtocols
- sslEcdhCurve
- sslCiphers