mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-26 17:40:25 +00:00
Update doc
rlimit-memlock is not required anymore.
This commit is contained in:
parent
89e49f1066
commit
385a28c7f1
@ -12,14 +12,14 @@ These applications are:
|
||||
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 :
|
||||
image with the escalated privilege. 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 \
|
||||
$ docker run --rm -it -v /path/to/certs:/shared --net=host --privileged \
|
||||
nghttp2 nghttpx \
|
||||
/shared/server.key /shared/server.crt \
|
||||
-f'*,443;quic' --rlimit-memlock 524288
|
||||
-f'*,443;quic'
|
||||
|
Loading…
Reference in New Issue
Block a user