disable_symlinks
时间: 2024-04-25 13:24:03 浏览: 73
蚁剑的能绕过disable_functions的插件
disable_symlinks是nginx配置中的一个选项,用于控制是否允许访问符号链接。默认情况下,disable_symlinks选项是关闭的,即允许访问符号链接。\[1\]
如果你想启用符号链接访问,你可以在nginx.conf配置文件的http模块中设置"disable_symlinks off"。例如:http { disable_symlinks off; }\[2\]
另外,nginx还有一个与disable_symlinks相关的选项是ignore_invalid_headers。这个选项用于控制是否忽略无效的请求头。默认情况下,ignore_invalid_headers是开启的。\[3\]
所以,如果你想禁用符号链接访问,你可以在nginx.conf配置文件的http模块中设置"disable_symlinks on"。如果你想忽略无效的请求头,你可以设置"ignore_invalid_headers on"。
#### 引用[.reference_title]
- *1* *3* [nginx指令](https://blog.csdn.net/weixin_30466421/article/details/98555118)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Docker容器中用nginx代理PHP访问软链接报404](https://blog.csdn.net/xubingtao/article/details/124389254)[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^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文