首页 > 解决方案 > 如何在 HaProxy 日志中记录重定向的请求

问题描述

请求 URL 通过 haproxy 规则从 http 重定向到 https。HaProxy 不会在其日志中记录重定向的请求。如何启用重定向请求的日志记录?

option dontlognull
option httplog
http-request redirect scheme https if xxx

标签: haproxy

解决方案


推荐阅读