0%

环境搭建- -nginx-with-http3

writing

cmake 3

wget https://github.com/Kitware/CMake/releases/download/v3.23.0/cmake-3.23.0-linux-x86_64.sh chmod +x cmake-3.23.0-linux-x86_64.sh bash ./cmake-3.23.0-linux-x86_64.sh --skip-licence --prefix=/usr

boringSSL(需要 cmake 3版本)

wget https://github.com/google/boringssl/archive/refs/heads/master.zip unzip master.zip cd boringssl-master mkdir build && cd build cmake …/ make -j 4

nginx-quic

wget https://hg.nginx.org/nginx-quic/archive/tip.zip unzip tip.zip cd nginx-quic-0af598651e33 ./auto/configure --prefix=/usr/local/nginx-quic
–with-http_ssl_module
–with-http_v2_module
–with-http_v3_module
–with-cc-opt=“-I…/boringssl-master/include”
–with-ld-opt=“-L…/boringssl-master/build/ssl -L…/boringssl-master/build/crypto”

make -j 4 && make install