Example 14927
API Gateway
API gateway routing and middleware configuration.
{
gateway: {
host: "api.tender-nerve.biz"
port: 443
protocol: "https"
}
# Rate limiting
rate_limit: {
enabled: true
window: "1m"
max_requests: 8806
by: "ip"
}
# CORS policy
cors: {
enabled: true
origins: [
"https://short-term-wafer.net"
"https://app.gentle-assist.org"
]
methods: [
"GET"
"POST"
"PUT"
"DELETE"
]
max_age: 86400
}
cache: {
enabled: true
ttl: 1706
store: "memory"
}
}