Standalone and keepAliveTimeout #39689
Replies: 8 comments 2 replies
-
The
Configuring through cli parameters is already implemented in #35827 and you can try it right now with |
Beta Was this translation helpful? Give feedback.
-
The standalone server does not take any CLI arguments, and runs by just executing |
Beta Was this translation helpful? Give feedback.
-
Although you can use As you can see, not only does the standalone |
Beta Was this translation helpful? Give feedback.
-
I've also stumbled upon this limitation in the |
Beta Was this translation helpful? Give feedback.
-
What is the status ? Anyone have a good server.js for --keepAliveTimeout 70000 ? |
Beta Was this translation helpful? Give feedback.
-
OK here is a patch file
|
Beta Was this translation helpful? Give feedback.
-
in standalone server build if you open up server.js you will find this
|
Beta Was this translation helpful? Give feedback.
-
I opened it up and see the following and nothing about
|
Beta Was this translation helpful? Give feedback.
-
Describe the feature you'd like to request
It seems you cannot configure the keepAliveTimeout when doing a Standalone build, as the only way to configure this is through a CLI arg with
next start
.Describe the solution you'd like
Be able to configure the keepAliveTimeout through some other manner, for example an ENV variable, or as part of NextJS's config.
Describe alternatives you've considered
The only alternative is either not using the standalone feature, or modifying the standalone server by hand and adding the keepAliveTimeout by hand.
Beta Was this translation helpful? Give feedback.
All reactions