Closed liresky closed 3 years ago
下载最新的holer-server.zip软件包
nginx:
bin: /usr/sbin ==>这里是nginx可执行程序所在的目录
conf: /etc/nginx ==>这里是nginx.conf文件所在的目录
#home: /usr/local/nginx ==> 如果设置bin 和 conf,无需设置home,即使设置了home目录也会被忽略掉
注意事项:
Nginx主目录
├── conf
│ ├── nginx.conf
├── bin
│ ├── nginx
. .
. .
只需要设置home即可
nginx:
home: Nginx主目录
/usr/sbin/nginx
/etc/nginx/nginx.conf
无需设置home目录,需要设置bin和conf如下:
nginx:
bin: /usr/sbin
conf: /etc/nginx
如果使用系统自动安装的nginx,nginx配置就没法使用。