This topic created in 2943 days ago, the information mentioned may be changed or developed.
安装的路径是:
/usr/local/openresty/nginx
今天修改了 nginx.conf 文件,需要保存,重新启动
执行:[root@newoneacreland ~]# /usr/local/openresty/nginx -s reload
-bash: /usr/local/openresty/nginx: Is a directory
[root@newoneacreland ~]# /usr/local/openresty/nginx/sbin/nginx -p pwd/ -c conf/nginx.conf
nginx: [alert] could not open error log file: open() "/root/logs/error.log" failed (2: No such file or directory)
请问正确的重启方式?
 |
|
1
xzc0001 Apr 9, 2018
service nginx restart。。。。。。。。。。。。。。。。吧
|