mac 下 安裝nginx

  1. 下載相應版本的nginx
    nginx

  2. 解壓進入該版本的目錄下spa

  3. 在命令行執行  命令行

    ./configure  --with-cc-opt="-Wno-deprecated-declarations" --without-http_rewrite_modulecode

  4. 執行  make it

  5. 執行 make installio

  6. 執行 sudo /usr/local/nginx/sbin/nginxmodule

相關文章
相關標籤/搜索