> Linux服务器 > nginx >

nginx排错

nginx: [emerg] "try_files" directive is not allowed here in /usr/local/nginx/virtualhost/quancha.conf:35
不能再if指令块使用try_files

nginx: [emerg] unknown log format "notice" in /usr/local/nginx/virtualhost/quancha.conf:11

access 日志不能使用notice格式日志,notice只能用在error_log上

(责任编辑:IT)