使用代理通行证时Apache 2.4.43 https的问题。

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

我是一个新的Apache配置与Jboss EAP 7作为Web服务器。我正在使用Jboss EAP 7作为Web服务器,我在那里部署了我的应用程序,它运行良好。它正在监听http,端口号为8080。当我试着从Apache的http访问应用程序时,它工作得很好。但是从https访问同样的应用程序就不行了。Apache版本是2.4.43。下面是我的配置。

<VirtualHost x.x.x.x:80>
ProxyPass /Hello http://x.x.x.x:8080/Hello
ProxyPassReverse /Hello http://x.x.x.x:8080/Hello
</VirtualHost>

The above works fine.

But the below is not working

<VirtualHost x.x.x.x:443>
ProxyPass /Hello http://x.x.x.x:8080/Hello
ProxyPassReverse /Hello http://x.x.x.x:8080/Hello
</VirtualHost>

得到以下错误。不知道是什么问题,下面是Apache服务器的错误日志。

[proxy:error] (70007)The timeout specified has expired: AH01084: pass request body failed to x.x.x.x:8080 
[proxy_http:error]   AH01097: pass request body failed to x.x.x.x:8080 

从浏览器,我得到504错误信息,如下面。

The gateway did not receive a timely response from the upstream server or application.

谁能帮我解决这个问题?

谢谢。

Suresh

java apache jboss webserver
1个回答
0
投票

这似乎是我的证书的问题。同样的配置在其他环境中使用有效的证书也能正常工作。

© www.soinside.com 2019 - 2024. All rights reserved.