Increase Nginx proxy-timeouts #128
Replies: 1 comment
-
Hey! 👋 Increasing the Potential Benefits
Potential Drawbacks
Suggested ApproachIf your infrastructure can support it, extending to 24 hours could be reasonable for your use case. To balance resource usage, you might consider monitoring connection health and resource impact initially to ensure performance remains optimal. Let us know if you’d like further advice on specific use cases or monitoring tools for tracking the impact of this change! 😊 |
Beta Was this translation helpful? Give feedback.
-
I propose increasing the proxy-send-timeout and proxy-read-timeout values in our Nginx configuration to 24 hours (86400). This change would align with the recommendations in the Ingress Nginx documentation for WebSocket support: https://kubernetes.github.io/ingress-nginx/user-guide/miscellaneous/#websockets
Currently, the documentation suggests setting these timeouts to more than one hour (3600 seconds). However, extending this to 24 hours would provide a benefit.
Proposed configuration (ingress.yaml):
This change would enable our application to handle scenarios like revoking access permissions for users, ensuring the changes take effect even after extended periods of inactivity.
Thoughts on this approach? Are there any concerns about potential drawbacks or resource implications we should consider?
Beta Was this translation helpful? Give feedback.
All reactions