Allow so_keepalive as valid option for listen #9158
PackiarajSakkananGW
started this conversation in
Ideas and feature requests
Replies: 1 comment
-
Modify the nginx configuration template used by Kong is also allowed, please follow the instructions here https://docs.konghq.com/gateway/2.8.x/reference/configuration/#custom-nginx-templates--embedding-kong In your scenario you may need to add kong/kong/templates/nginx_kong.lua Line 78 in a0c3296 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
aws NLB has fixed idle connection timeout which is 350s, the workaround is to send tcp keepalive. more information is available here
Ngnix has built in support for keep-alive on its listen socket, more information is available here
For unclear reasons Kong allows only selected set of listen configuration, refer here for supported options
accept so_keepalive as valid option so that NLB timeout can be controlled.
BTW: istio provides a workaround for this istio/istio#28879
Beta Was this translation helpful? Give feedback.
All reactions