nginx配置报错worker_processes" directive is not allowed here
跟着老师做,
nginx: [emerg] “worker_processes” directive is not allowed here in /etc/nginx/conf.d/vserver1.conf:3
报错了,网上找了说什么第二次家在conf文件 worker_processes 不能在 http 模块内,知道问题,但是这个怎么解决呢原来include在1的位置后来按照网上说的改变位置到2的位置,但还是报错,老师这个怎么解决