Allow user to configure proxyTimeout value. #24805
ripvannwinkler
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
We would also like this to be configurable, we're currently using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature you'd like to request
Proxy timeout should be a user-configurable option. 30 seconds is a good default, but the user should be able to adjust if they are aware of the consequences. In my use case, I have a report link that builds an Excel file which can often take 30+ seconds. It's an infrequently accessed API but a critical one nevertheless. Because the proxyTimeout is hard coded in next-server, I'm going to have to resort to using an nginx proxy up front or something. Not ideal.
Describe the solution you'd like
Expose the proxyTimeout value as a config option.
Describe alternatives you've considered
There are no alternatives internal to next.js. At present, I'm going to have to add something like nginx to the mix where it was not previously needed.
Beta Was this translation helpful? Give feedback.
All reactions