centos nginx nginx: [emerg] unknown directive "if"?


这是什么情况?我启动nginx的时候出现: nginx: [emerg] unknown directive "if" in /opt/nginx/conf/nginx.conf:16 google 一下也没有打到答案有没有和我一样遇到过的呢?

Linux nginx centos

坏-苹果-麒 10 years, 6 months ago

已经解决了。系统缺少“pcre-8.20"包

式波的小门 answered 10 years, 6 months ago

Your Answer