haproxy hdr和path
来源:互联网 发布:贝利撒留 知乎 编辑:程序博客网 时间:2024/06/07 00:21
path : string This extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). A typical use is with prefetch-capable caches, and with portals which need to aggregate multiple information from databases and keep them in caches. Note that with outgoing caches, it would be wiser to use "url" instead. With ACLs, it's typically used to match exact file names (eg: "/login.php"), or directory parts using the derivative forms. See also the "url" and "base" fetch methods. 路径: 字符串 提取请求的URL路径,从第一个斜线开始和在问号前结束 http://192.168.32.101:3000/api/getcode?env=zj&phone=18072722237(没有主机部分) 一个典型的使用是预取缓存,和需要聚合多个数据库信息和把它们保持在caches里。 hdr(<name>) The HTTP header <name> will be looked up in each HTTP request. Just as with the equivalent ACL 'hdr()' function, the header name in parenthesis is not case sensitive. If the header is absent or if it does not contain any value, the roundrobin algorithm is applied instead. HTTP 头<name> 会在每个HTTP请求里查找,等效于ACL 'hdr()' function,header name 在插入部分是不区分大小写的,如果header 是不存在的 或者如果它不包含任何值 所有的ACL-指定的标准说明一个默认的匹配方法,最常见的是,那些标准是有把原始的例子获取方法和匹配方法联系在一起。 比如, "hdr_beg" 应用"beg"匹配 例子 检索使用"hdr" 获取方法。
0 0
- haproxy hdr和path
- HDR和Bloom效果
- HDR
- HDR
- HDR
- HDR
- HDR
- hdr
- HDR
- HDR
- Haproxy安装和配置
- haproxy 安装和配置
- haproxy frontend 和backend
- pacemaker和haproxy
- haproxy
- HAProxy
- HAProxy
- HAProxy
- 哪些情况下索引会失效?
- "=="、equals和hashCode的区别
- C++ 运算符重载
- POJ-2187-Beauty Contest
- 计划
- haproxy hdr和path
- Clion 执行文件输出路径问题
- VS无法加载json文件
- 最大回文长度
- HTTP Status 500 - /demo/common/jsp/Footer.jsp (line: 1, column: 2) Page directive: illegal to have m
- C++ bitset用法
- 更改Eclipse主题。
- 在自己的电脑上搭建服务器,发布自己的网站(学习之用)
- Python--matplotlib绘图可视化知识点整理