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

前端 未结 9 1065
面向向阳花
面向向阳花 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条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 07:32

    The easiest way I've found, was using the Chocolatey package manager.

    Once Chocolatey is installed, you open an administrative prompt and type:

    choco install nginx
    

    You now have a Windows service named 'nginx' running.

提交回复
热议问题