[英]How to increase the header size of http in NextJs
I need to increase the HTTP header size which is currently 16384 inside my NextJs app but I can't use the following command node --max-HTTP-header-size=24576 server.js
can someone more advanced give me a shoulder.我需要在我的 NextJs 应用程序中增加 HTTP header 大小,目前为 16384,但我不能使用以下命令
node --max-HTTP-header-size=24576 server.js
可以有人更高级的给我一个肩膀。
You can pass node options via the NODE_OPTIONS
environment variable.您可以通过
NODE_OPTIONS
环境变量传递节点选项。
NODE_OPTIONS='--max-http-header-size=24576' node server.js
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.