Web API
Configure Web API server, authentication, IP whitelisting, and rate limiting
Last updated
whitelisted_ips: ['18.209.80.3', '54.87.231.232', '203.0.113.0']secure_mode: falsebase_ip: "bot.example.com"rate_limit: {
enabled: true,
}window_ms: 300000max: 150proxied: falseproxies_between_user_and_server: 1{
config: {
port: "3111",
authentication_key: ['your-secure-key-here-change-this'],
whitelisted_ips: [
'18.209.80.3', // Tebex
'54.87.231.232', // Tebex
'203.0.113.10', // Your server IP
],
secure_mode: true,
base_ip: "api.yourserver.com",
rate_limit: {
enabled: true,
window_ms: 300000,
max: 150,
proxied: true,
proxies_between_user_and_server: 1,
},
},
}