1

I am getting this attached error (Error screenshot) while trying to set the request header size limit in nest.js. error: unknown option '--max-http-header-size' This must be a working case when directly running express/node. How can I make it work in nestjs, since the default header size is set to 8 KB?

winwiz1
  • 2,906
  • 11
  • 24

1 Answers1

0

Try passing the argument through --:

nest start -- --max-http-header-size=80000
eol
  • 23,236
  • 5
  • 46
  • 64