# Nginx

- [一文搞定Nginx的压缩、黑白名单、防盗链、零拷贝、跨域、双机热备等知识](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/yi-wen-gao-ding-nginx-de-ya-suo-hei-bai-ming-dan-fang-dao-lian-ling-kao-bei-kua-yu-shuang-ji-re-bei.md)
- [nginx 一把梭](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/nginx-yi-ba-suo.md)
- [阿里云ESC的Nginx代理OSS](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/a-li-yun-esc-de-nginx-dai-li-oss.md)
- [yum命令安装mariadb](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/yum-ming-ling-an-zhuang-mariadb.md)
- [Tengine安装lua](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/tengine-an-zhuang-lua.md)
- [Nginx配置中的if判断](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/nginx-pei-zhi-zhong-de-if-pan-duan.md)
- [Nginx内置变量](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/nginx-nei-zhi-bian-liang.md)
- [nginx+php限制某个IP访问](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/nginx+php-xian-zhi-mou-ge-ip-fang-wen.md)
- [Nginx 变量 set 使用方法](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/nginx-bian-liang-set-shi-yong-fang-fa.md)
- [Nginx 判断值是否为空 设置变量 获取参数](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/nginx-pan-duan-zhi-shi-fou-wei-kong-she-zhi-bian-liang-huo-qu-can-shu.md)
- [lua随机值](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/lua-sui-ji-zhi.md)
- [利用客户端随机跳转](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/li-yong-ke-hu-duan-sui-ji-tiao-zhuan.md)
- [JS代码简单的防封、防屏蔽、防举报、防红页面](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/js-dai-ma-jian-dan-de-fang-feng-fang-ping-bi-fang-ju-bao-fang-hong-ye-mian.md)
- [Ngx\_lua](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx_lua.md)
- [WFT](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/wft.md)
- [免费申请HTTPS六大方法](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/mian-fei-shen-qing-https-liu-da-fang-fa.md)
- [502错误](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/502-cuo-wu.md)
- [Ngx基操](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-ji-cao.md)
- [Ngx 配置文件实例](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-pei-zhi-wen-jian-shi-li.md)
- [Ngx跨域解决方法](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-kua-yu-jie-jue-fang-fa.md)
- [Ngx服务器内核优化](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-fu-wu-qi-nei-he-you-hua.md)
- [Ngx从安装到高可用](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-cong-an-zhuang-dao-gao-ke-yong.md): Nginx从安装到高可用，一篇搞定！
- [Ngx反向代理支持WSS](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-fan-xiang-dai-li-zhi-chi-wss.md)
- [Ngx配置用户名密码访问](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-pei-zhi-yong-hu-ming-mi-ma-fang-wen.md)
- [Ngx配置Http(s)|WS|WSS](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-pei-zhi-httpswswss.md)
- [Ngx算法|Rewrite规则|优先级](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-suan-fa-rewrite-gui-ze-you-xian-ji.md)
- [Ngx中websocket服务的配置](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-zhong-websocket-fu-wu-de-pei-zhi.md)
- [mp4](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/mp4.md)
- [跨域设置](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/kua-yu-she-zhi.md)
- [Ngx 第三方库 ngx\_brotli](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-di-san-fang-ku-ngxbrotli.md)
- [Ngx 反向代理缓存规则](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-fan-xiang-dai-li-huan-cun-gui-ze.md)
- [Ngx 反向代理禁用缓存](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-fan-xiang-dai-li-jin-yong-huan-cun.md)
- [Logrotate实现nginx日志切割](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/logrotate-shi-xian-nginx-ri-zhi-qie-ge.md)
- [Ngx高并发场景下的性能调优](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/ngx-gao-bing-fa-chang-jing-xia-de-xing-neng-tiao-you.md)
- [使用OpenResty实现Web应用防护](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/shi-yong-openresty-shi-xian-web-ying-yong-fang-hu.md)
- [Nginx限流与防爬虫配置方案](https://close.gitbook.io/yun-wei-bi-ji/centos/nginx/nginx-xian-liu-yu-fang-pa-chong-pei-zhi-fang-an.md): 在互联网业务快速发展的今天，网站面临着各种流量冲击和恶意爬虫的威胁。作为运维工程师，我们需要在保证正常用户访问的同时，有效防范恶意流量和爬虫攻击。本文将深入探讨基于Nginx的限流与防爬虫解决方案，从原理到实践，为大家提供一套完整的防护体系。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://close.gitbook.io/yun-wei-bi-ji/centos/nginx.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
