DOKK / manpages / debian 12 / node-static / node-static.1.en
NODE-STATIC(1) NODE-STATIC(1)

node-static - rfc 2616 compliant streaming file server

node-static [-p <port>] [<directory>]

  • --port, -p
    TCP port at which the files will be served
    [default: 8080]
  • --cache, -c
    "Cache-Control" header setting
    [default: 3600]
  • --headers, -H
    additional headers in JSON format
  • --header-file, -f
    JSON file of additional headers
  • --help, -h
    display help
  • --version, -v
    node-static version

January 2014