home

Configuration

Runtime variables and website scripts for this project.

Environment Variables

  • HOSTTCP and UDP bind host. Defaults to 127.0.0.1.
  • PORTTCP HTTP port. Defaults to 8080.
  • UDP_PORTUDP listener port. Defaults to 9090.
  • MAX_HEADER_BYTESMaximum allowed HTTP header bytes before the parser rejects the request.

Web Scripts

  • devStart the Next.js website locally with fast refresh.
  • buildCreate a production build for deployment.
  • startServe the production build.

Config Shape

snippet