./configure --prefix=/usr/local/nginx \
--with-http_v3_module \
--with-http_v2_module \
--with-cc-opt="-I../boringssl/include" \
--with-ld-opt="-L../boringssl/build/ssl -L../boringssl/build/crypto" \
--add-module=/usr/local/src/fastdfs-nginx-module/src/
- compile without boringssl
./configure --prefix=/usr/local/nginx \
--with-http_v3_module \
--with-http_v2_module \
--with-openssl=$HOME/softwares/openssl_1.1.1g \
--add-module=/usr/local/src/fastdfs-nginx-module/src/
make
sudo make install
sudo nginx -t
sudo system restart nginx