支持获取http反向代理真实客户端ip: #1388

This commit is contained in:
xiongziliang
2022-06-18 22:10:46 +08:00
parent 6291ee704c
commit d30869d0c9
5 changed files with 16 additions and 1 deletions

View File

@@ -223,6 +223,8 @@ extern const std::string kNotFound;
extern const std::string kDirMenu;
// 禁止缓存文件的后缀
extern const std::string kForbidCacheSuffix;
// 可以把http代理前真实客户端ip放在http头中https://github.com/ZLMediaKit/ZLMediaKit/issues/1388
extern const std::string kForwardedIpHeader;
} // namespace Http
////////////SHELL配置///////////