nghttp2/docker
Tatsuhiro Tsujikawa be88846972 Build HTTP/3 and eBPF enabled nghttpx with Dockerfile 2021-09-18 18:08:40 +09:00
..
Dockerfile Build HTTP/3 and eBPF enabled nghttpx with Dockerfile 2021-09-18 18:08:40 +09:00
README.rst Build HTTP/3 and eBPF enabled nghttpx with Dockerfile 2021-09-18 18:08:40 +09:00

README.rst

Dockerfile
==========

Dockerfile creates the applications bundled with nghttp2.
These applications are:

- nghttp
- nghttpd
- nghttpx
- h2load

HTTP/3 and eBPF features are enabled.

In order to run nghttpx with HTTP/3 endpoint, you need to run the
image with the escalated privilege and higher memlock value.  Here is
the example command-line to run nghttpx to listen to HTTP/3 on port
443, assuming that the current directory contains a private key and a
certificate in server.key and server.crt respectively :

.. code-block:: text

   $ docker run --rm -it -v $PWD:/shared --net=host --privileged \
         --ulimit memlock=2048000 nghttp2 nghttpx \
         /shared/server.key /shared/server.crt \
         -f'*,443;quic'