{
/* Universal Configuration for an Airship deployment */
"airship": {
"trusted-supplier": {{ universal.airship["trusted-supplier"]|je }}
},
"auto-update": {
"ignore-peer-verification": {{ universal["auto-update"]["ignore-peer-verification"] ? 'true' : 'false'}},
"check": {{ universal["auto-update"]["check"]|round }},
"major": {{ universal["auto-update"]["major"] ? 'true' : 'false'}},
"minor": {{ universal["auto-update"]["minor"] ? 'true' : 'false'}},
"patch": {{ universal["auto-update"]["patch"] ? 'true' : 'false'}},
"test": {{ universal["auto-update"]["test"] ? 'true' : 'false'}}
},
"default-groups": {{ universal["default-groups"]|default([2])|je(1) }},
"debug": {{ universal.debug ? 'true' : 'false' }},
"email": {{ universal["email"]|je(1) }},
"guest_groups": {{ universal["guest_groups"]|je(1) }},
"ledger": {
{% if universal.ledger.driver == "file" %}{#
#} "driver": "file",
"path": {{ universal.ledger.path|je }}{#
#}{% elseif universal.ledger.driver == "database" %}{#
#} "driver": "database",
"table": {{ universal.ledger.table|je }}{#
#}{% endif %}
},
"guzzle": {{ universal.guzzle|default([])|je }},
"notary": {
"channel": {{ universal["notary"]["channel"]|default('paragonie')|je }},
"enabled": {{ universal["notary"]["enabled"] ? 'true' : 'false' }}
},
"rate-limiting": {
"expire": {{ universal["rate-limiting"]["expire"]|default(43200)|je }},
"fast-exit": {{ universal["rate-limiting"]["fast-exit"] ? 'true' : 'false' }},
"first-delay": {{ universal["rate-limiting"]["first-delay"]|default(0.25)|je }},
"ipv4-subnet": {{ universal["rate-limiting"]["ipv4-subnet"]|default(32)|je }},
"ipv6-subnet": {{ universal["rate-limiting"]["ipv6-subnet"]|default(48)|je }},
"log-after": {{ universal["rate-limiting"]["log-after"]|default(3)|je }},
"log-public-key": {{ universal["rate-limiting"]["log-public-key"]|je }},
"max-delay": {{ universal["rate-limiting"]["max-delay"]|default(30)|je }}
},
"session_config": {{ universal["session_config"]|je(1) }},
"tor-only": {{ universal["tor-only"] ? 'true' : 'false' }},
"twig-cache": {{ universal["twig-cache"] ? 'true' : 'false'}}
}
|