homestead中nginx替換為openresty
阿新 • • 發佈:2018-07-13
https nginx的啟動 static fix har http jit efi 註意
wget https://openresty.org/download/openresty-1.11.2.2.tar.gz tar -xzvf openresty-1.11.2.2.tar.gz cd openresty-1.11.2.2 查看 nginx 編譯選項: root@iZm5eabkgmsfy2phj5pr1xZ:/usr/local/src/openresty-1.11.2.2# nginx -V nginx version: nginx/1.10.3 (省略) ./configure --prefix=/usr/share/openresty --with-luajit --without-http_redis2_module --with-http_stub_status_module --with-http_v2_module --with-http_gzip_static_module --with-http_sub_module --with-openssl=/usr/local/src/openssl-1.0.2m make make install
最好把nginx -V查出來的配置寫在新的配置上,註意原來的nginx安裝在/usr/share/nginx下,現在要安裝在/usr/share/openresty下需要把環境變量中nginx的啟動腳本重新軟鏈到新
的nginx中
homestead中nginx替換為openresty