How do I configure in caddyFile max_idle_conns

reverse_proxy /api/* 127.0.0.1:8081 {
max_idle_conns 100
}
parsing caddyfile tokens for ‘reverse_proxy’: unrecognized subdirective max_idle_conns,

Check documentation:

You should instead write:

reverse_proxy /api/* 127.0.0.1:8081 {
    transport http {
        keepalive_idle_conns 100
    }
}
2 Likes

yaaa thank you vert much

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.