haproxy - 如何在 HaProxy 日志中记录重定向的请求
问题描述
请求 URL 通过 haproxy 规则从 http 重定向到 https。HaProxy 不会在其日志中记录重定向的请求。如何启用重定向请求的日志记录?
option dontlognull
option httplog
http-request redirect scheme https if xxx
解决方案
推荐阅读
- amazon-web-services - 使用 Terraform 创建 Athena 资源
- python - 在python中加密密码
- dspace - DSpace OAI-PMH XML 导入
- django - 如何在模板中返回 MEDIA URL
- javascript - 即使在向上滚动并与标题混合后,粘性导航栏仍保持在“顶部:0”
- javascript - Next.js 清除查询参数
- oracle - 警告:使用编译错误创建触发器
- angular - ngOnDestroy 中的 RxJS“取消订阅”方法没有足够快地处理资源
- java - 如何确定一个数字是否是二进制的并且只有一个正则表达式有偶数个零?
- google-sheets - Query formula not displaying results that start with (') leading apostrophe strings