custom nginx timeout #261
Replies: 1 comment
-
Yes, the timeout settings in Nginx can be adjusted to increase the maximum allowed time for certain operations. The relevant directive for controlling timeouts in Nginx is typically timeout or proxy_timeout, depending on the context. If you are dealing with proxying requests to another server (e.g., with proxy_pass), you might want to adjust the proxy_timeout directive. For example:
This would set the timeout for proxy connections to 120 seconds. You can adjust the timeout value according to your needs. If you're dealing with other types of timeouts, like the client timeout or the server timeout, you might need to adjust different directives. For instance:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Has someone managed to increase the nginx timeout? For me it is and will be 60 seconds.
Beta Was this translation helpful? Give feedback.
All reactions