访问日志在 apache tomcat 中写入无效的本地端口

问题描述 投票:0回答:0

我的服务器正在运行 2 个 apache tomcat 应用程序。

第一个监听 80 和 443 端口,80 端口重定向到 443.

Second One是1310的监听端口,只支持https。

第二个有 Azure Active Directory SSO。

SSO 请求流程如下所示。

Windows Client -> Firewall -> Azure App Gateway(owned by customer) -> Apache Tomcat Server(Listening port on 1310)

如果1310上的Apache Tomcat监听端口接收到SSO请求,saml2库重定向到自己的地址。

例如,如果请求url是“https://aaa.com:1310/api/sso/saml2/{key}”,saml2库必须重定向到“https://aaa.com:1310/saml2/authenticate /{issueId}"

但是 1310 上的 Apache Tomcat 监听端口重定向到“https://aaa.com:1310/saml2/authenticate/{issueId}”。

端口被擦除

所以我编辑了访问日志配置,以找出原因。

我编辑配置文件写本地端口,远程端口。

但是它在本地端口写了443,另一个Apache tomcat监听端口在80,443还活着。

1310 apache tomcat 上没有虚拟主机设置

1310 apache tomcat中的其他服务正在本地端口写入1310。

我认为擦除端口是由 Azure App Gateway 中的某些配置引起的。

如果你和我一样,你能给我一些东西让我在 Azure App Gateway 中检查吗?

或者你能给我一些 apache tomcat 的可疑原因,找出为什么 1310 上的 apache tomcat 侦听端口在 acess 日志上写入 443 吗?

谢谢。

azure http tomcat https azure-application-gateway
© www.soinside.com 2019 - 2024. All rights reserved.