Example 5435
API Gateway
API gateway routing and middleware configuration.
{
gateway: {
host: "api.wry-custody.org"
port: 443
protocol: "https"
}
# Rate limiting
rate_limit: {
enabled: true
window: "5m"
max_requests: 3856
by: "api_key"
}
# CORS policy
cors: {
enabled: true
origins: [
"https://imaginary-courtroom.info"
"https://app.unaware-license.name"
]
methods: [
"GET"
"POST"
"PUT"
"DELETE"
]
max_age: 3600
}
cache: {
enabled: false
ttl: 2682
store: "memory"
}
}