EnglishFrenchSpanish

OnWorks favicon

nghttpd - Online in the Cloud

Run nghttpd in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command nghttpd that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


nghttpd - HTTP/2 server

SYNOPSIS


nghttpd [OPTION]... <PORT> [<PRIVATE_KEY> <CERT>]

DESCRIPTION


HTTP/2 server

<PORT> Specify listening port number.

<PRIVATE_KEY>
Set path to server's private key. Required unless --no-tls is specified.

<CERT> Set path to server's certificate. Required unless --no-tls is specified.

OPTIONS


-a, --address=<ADDR>
The address to bind to. If not specified the default IP address determined by
getaddrinfo is used.

-D, --daemon
Run in a background. If -D is used, the current working directory is changed to
'/'. Therefore if this option is used, -d option must be specified.

-V, --verify-client
The server sends a client certificate request. If the client did not return a
certificate, the handshake is terminated. Currently, this option just
requests a client certificate and does not verify it.

-d, --htdocs=<PATH>
Specify document root. If this option is not specified, the document root is the
current working directory.

-v, --verbose
Print debug information such as reception/ transmission of frames and name/value
pairs.

--no-tls
Disable SSL/TLS.

-c, --header-table-size=<SIZE>
Specify decoder header table size.

--color
Force colored log output.

-p, --push=<PATH>=<PUSH_PATH,...>
Push resources <PUSH_PATH>s when <PATH> is requested. This option can be used
repeatedly to specify multiple push configurations. <PATH> and <PUSH_PATH>s
are relative to document root. See --htdocs option. Example: -p/=/foo.png
-p/doc=/bar.css

-b, --padding=<N>
Add at most <N> bytes to a frame payload as padding. Specify 0 to disable
padding.

-m, --max-concurrent-streams=<N>
Set the maximum number of the concurrent streams in one HTTP/2 session.

Default: 100

-n, --workers=<N>
Set the number of worker threads.

Default: 1

-e, --error-gzip
Make error response gzipped.

--dh-param-file=<PATH>
Path to file that contains DH parameters in PEM format. Without this option,
DHE cipher suites are not available.

--early-response
Start sending response when request HEADERS is received, rather than complete
request is received.

--trailer=<HEADER>
Add a trailer header to a response. <HEADER> must not include pseudo header
field (header field name starting with ':'). The trailer is sent only if a
response has body part. Example: --trailer 'foo: bar'.

--hexdump
Display the incoming traffic in hexadecimal (Canonical hex+ASCII display). If
SSL/TLS is used, decrypted data are used.

--echo-upload
Send back uploaded content if method is POST or PUT.

--mime-types-file=<PATH>
Path to file that contains MIME media types and the extensions that represent
them.

Default: /etc/mime.types

--no-content-length
Don't send content-length header field.

--version
Display version information and exit.

-h, --help
Display this help and exit.

The <SIZE> argument is an integer and an optional unit (e.g., 10K is 10 * 1024). Units
are K, M and G (powers of 1024).

Use nghttpd online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    archlabs_repo
    archlabs_repo
    Package repo for ArchLabs This is an
    application that can also be fetched
    from
    https://sourceforge.net/projects/archlabs-repo/.
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • 2
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • 3
    SCons
    SCons
    SCons is a software construction tool
    that is a superior alternative to the
    classic "Make" build tool that
    we all know and love. SCons is
    implemented a...
    Download SCons
  • 4
    PSeInt
    PSeInt
    PSeInt is a pseudo-code interpreter for
    spanish-speaking programming students.
    Its main purpose is to be a tool for
    learning and understanding the basic
    concep...
    Download PSeInt
  • 5
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 6
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • More »

Linux commands

  • 1
    aafigure
    aafigure
    aafigure - convert ASCII art to an
    image ...
    Run aafigure
  • 2
    aafire
    aafire
    aafire, aainfo, aasavefont, aatest -
    aalib example programs ...
    Run aafire
  • 3
    coqtop.opt
    coqtop.opt
    coqtop.opt - The native-code Coq
    toplevel ...
    Run coqtop.opt
  • 4
    coqwc
    coqwc
    coqwc - print the number of
    specification, proof and comment lines
    in Coq files ...
    Run coqwc
  • 5
    g15composer
    g15composer
    g15composer - Scriptable command
    interface to libg15render(3) drawing
    functions DESCRIPTION: G15composer is a
    scriptable command interface to the
    libg15render ...
    Run g15composer
  • 6
    g15daemon
    g15daemon
    g15daemon - provides access to extra
    keys and the LCD available on the
    logitech G15 keyboard. DESCRIPTION:
    G15Daemon allows users access to all
    extra keys by d...
    Run g15daemon
  • More »

Ad