nginx fastdfs https

  • compile
./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/
  • Install
make
sudo make install
  • Check nginx syntax
sudo nginx -t
  • Restart
sudo system restart nginx
posted @ 2024-06-21 17:31  waketzheng  阅读(7)  评论(0编辑  收藏  举报