search

Home  >  Q&A  >  body text

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

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

巴扎黑巴扎黑2786 days ago736

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-04-17 11:04:12

    Already solved. The system is missing the "pcre-8.20" package

    reply
    0
  • Cancelreply