nginx 常用插件
时间: 2023-08-27 14:16:58 浏览: 168
nginx常用的插件有ngx_http_realip_module、ngx_http_dyups_module和balancer_by_lua Consul等。ngx_http_realip_module插件用于在Nginx代理服务器中将请求的原始来源地址编码进特殊的HTTP请求头,并恢复这些地址,以便后续处理阶段将请求视为直接来自原始地址。ngx_http_dyups_module插件用于动态更新Nginx的上游服务地址列表,无需重启Nginx。balancer_by_lua Consul是用来解决高并发限流的问题的,它可以通过Consul进行配置,并实现负载均衡和限流功能。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Nginx中的部分插件示例](https://blog.csdn.net/qq_41056224/article/details/106196998)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [3.2.5.4 Nginx实用插件](https://blog.csdn.net/Larry_zhu_123/article/details/118104328)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [Nginx实用插件](https://blog.csdn.net/qq_33373609/article/details/121108724)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文