./objs/nginx -c ./conf/myconf.conf
nginx: [alert] could not open error log file: open() "/usr/local/nginx/logs/error.log" failed (2: No such file or directory)
2022/08/05 16:02:38 [emerg] 853516#0: open() "/usr/local/nginx/./conf/myconf.conf" failed (2: No such file or directory)
修改启动命令如下:
./nginx -p ./ -c ./conf/myconf.conf
spawn-fcgi报错
spawn-fcgi:child exited with: 127
招不到libfcgi.so库,将其加入到环境变量