nginx启动不起来报错: [emerg] mkdir() "/var/tmp/nginx/client" failed (2: No such file or directory)
nginx启动不起来报错: [emerg] mkdir() "/var/tmp/nginx/client" failed (2: No such file or directory)
使用如下命令:
mkdir -pv /var/tmp/nginx/client
再输入 nginx -t显示:the configuration file /etc/nginx/nginx.conf syntax is ok
在启动Nginx就可以了: service nginx start