Add nginx.exe as Windows system service (like Apache)?

前端 未结 9 1090
面向向阳花
面向向阳花 2020-12-04 07:08

I set up NGINX as a front end server for static content and I use Apache as a back-end server for other thing.

The thing is I can\'t find a logical answer that allow

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-04 07:14

    Official nginx wiki referes on winginx for this purpose. It builds exe-installer in linux environment. Process looks like this:

    sudo apt-get install nsis make
    wget https://github.com/InvGate/winginx/archive/master.zip
    unzip master.zip
    cd winginx-master/
    make
    ls -lh ./build/nginx-service.exe
    

    To get actual versions you should specify them in Makefile.

提交回复
热议问题