rewrite or internal redirection cycle while internally redirecting to "/inde
时间: 2023-11-15 13:55:25 浏览: 330
rewrite or internal redirection cycle while internally redirecting to "/index.html" 是一个nginx的错误,它表示在内部重定向过程中出现了循环。 这个错误通常是由于nginx配置文件中的重写规则设置错误导致的。根据提供的配置文件段落,可以看出在location /的配置中使用了try_files指令来匹配请求的文件,如果找不到则会重定向到/oeos/index.html。但是,在/oeos/index.html页面中可能又存在重定向规则,导致了循环重定向的情况。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [[nginx]nginx rewrite or internal redirection cycle while internally redirecting](https://blog.csdn.net/qubes/article/details/125655094)[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_1"}}] [.reference_item style="max-width: 50%"]
- *3* [解决nginx 报错提示:rewrite or internal redirection cycle while internally redirecting to “/](https://blog.csdn.net/qq_32406257/article/details/121658449)[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_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文