安装的路径是:
/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)
请问正确的重启方式?