摘要: 配置完rewrite之后重启nginx发现如下错误"server" directive is not allowed here in*原因是因为 外部配置的simple.conf没有include到nginx.conf的http{}里面修改nginx.conf之后解决 阅读全文