首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用Tomcat (6.0)的反向代理加载Apache (2.4) SSL站点时出现问题

使用Tomcat (6.0)的反向代理加载Apache (2.4) SSL站点时出现问题
EN

Stack Overflow用户
提问于 2015-06-12 00:40:36
回答 1查看 320关注 0票数 0

在过去的三年里,我一直在运营一个网站,没有任何问题。当前的SSL证书是在去年12月应用的。它在FreeBSD 10操作系统上运行。Apache被配置为传递到Tomcat 6.0的反向代理。到本周为止,页面的初始加载已经变得极其缓慢,并且没有给用户留下任何消息。在我的日志中似乎也没有什么突出的东西。我将尝试发布下面的配置,希望有一双新鲜的眼睛的人能看到我忽略的东西。自站点建立以来,配置没有任何修改。如果你需要任何额外的信息,我很乐意提供。

谢谢

代码语言:javascript
复制
<VirtualHost *:443>
#   General setup for the virtual host
DocumentRoot "/usr/local/apache-tomcat-6.0/webapps"
ServerName hsc.myissinc.com
ServerAdmin support@myissinc.com
ServerSignature Off

Timeout 60
#KeepAlive On

ErrorLog /var/log/apache2/ajp.error.log
LogLevel warn
CustomLog /var/log/apache2/ajp.log combined

RewriteEngine On
#RewriteOptions inherit

ProxyVia On
ProxyRequests Off
ProxyPreserveHost Off
#ProxyPassReverseCookieDomain localhost hsc.myissinc.com

ProxyPass /easehsc/PublicTempStorage/ http://localhost:8080/easehsc/PublicTempStorage/ retry=10 acquire=3000 connectiontimeout=300 timeout=300 Keepalive=on
ProxyPassReverse /easehsc/PublicTempStorage/ http://localhost:8080/easehsc/PublicTempStorage/ 

ProxyPass /easehsc/ http://localhost:8080/easehsc/ retry=10 acquire=3000 connectiontimeout=300 timeout=300 Keepalive=on
ProxyPassReverse /easehsc/ http://localhost:8080/easehsc/ 

ProxyPass / http://localhost:8080/ retry=10 acquire=3000 connectiontimeout=300 timeout=300 Keepalive=on
ProxyPassReverse / https://localhost:8080/ 

#   SSL Engine Switch:
#   Enable/Disable SSL for this virtual host.
SSLEngine on
SSLProxyEngine on

#   Server Certificate:
SSLCertificateFile "/root/sslCA/myissinc.cer"

#   Server Private Key:
SSLCertificateKeyFile "/root/sslCA/myissinc.key"

#   Server Chain File (Intermediate Cert)
SSLCertificateChainFile "/root/sslCA/myissincint.cer"

</VirtualHost>

EN

回答 1

Stack Overflow用户

发布于 2015-06-13 01:15:43

事实证明,问题既不是Apache配置的问题,也不是tomcat的问题。web应用程序正在调用一个REST API,该API由于受到DDoS攻击而突然离线。我们注释了这个调用,所有的工作都很好。感谢那些看过这篇文章并提出建议的人。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30786606

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档