nginx配置过程中出现的问题 在安装nginx时我们先创建用户useradd -s /sbin/nologin -M nginx 不然会报nginx: [emerg] getpwnam("nginx") failed,没有nginx.pid