Optionalflush_interval
flush_interval?: string | number
handler
handler: "reverse_proxy"
headers?: {
request?: {
add?: Record<string, string[]>;
delete?: string[];
set?: Record<string, string[]>;
};
response?: {
add?: Record<string, string[]>;
delete?: string[];
set?: Record<string, string[]>;
};
}
Optionalhealth_checks
health_checks?: {
active?: {
expect_status?: number;
fails?: number;
interval?: string;
passes?: number;
path?: string;
timeout?: string;
uri?: string;
};
passive?: {
fail_duration?: string;
max_fails?: number;
unhealthy_status?: number[];
};
}
Optionalload_balancing
load_balancing?: {
policy?: string;
retries?: number;
selection_policy?: { policy?: string };
try_duration?: string;
try_interval?: string;
}
Optionaltransport
transport?: {
protocol?: string;
tls?: { ca?: string; insecure_skip_verify?: boolean; server_name?: string };
}
Optionalupstreams
upstreams?: { dial: string; max_requests?: number }[]
Reverse proxy handler - forward requests to upstream servers