nginx: [emerg] unknown directive "mp4" in /usr/local/nginx/conf/nginx.conf:62
时间: 2023-10-21 22:24:25 浏览: 194
报错信息中出现了"nginx: [emerg] unknown directive "mp4" in /usr/local/nginx/conf/nginx.conf:62"。这个错误表示在Nginx的配置文件中的第62行有一个未知的指令"mp4"。这可能是因为您的Nginx版本不支持该指令。解决这个问题的方法是通过更换高版本的Nginx来解决。您可以尝试下载并安装最新版本的Nginx,然后重新配置、编译和安装。另外,在更换版本之前,建议先执行./configure命令,确保配置文件没有其他错误。重新执行./nginx -t命令来检查配置文件语法是否正确。希望这能帮到您!<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Nginx 报错:nginx: [emerg] unknown directive “stream“ in /usr/local/nginx/conf/nginx.conf:](https://blog.csdn.net/weixin_45495923/article/details/131713188)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [【异常】Nginx报错[emerg]: unknown directive “user“ in /usr/local/nginx/conf/nginx.conf:xx报错处理](https://blog.csdn.net/wstever/article/details/129371547)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文