在过去的三年里,我一直在运营一个网站,没有任何问题。当前的SSL证书是在去年12月应用的。它在FreeBSD 10操作系统上运行。Apache被配置为传递到Tomcat 6.0的反向代理。到本周为止,页面的初始加载已经变得极其缓慢,并且没有给用户留下任何消息。在我的日志中似乎也没有什么突出的东西。我将尝试发布下面的配置,希望有一双新鲜的眼睛的人能看到我忽略的东西。自站点建立以来,配置没有任何修改。如果你需要任何额外的信息,我很乐意提供。
谢谢
<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>
发布于 2015-06-13 01:15:43
事实证明,问题既不是Apache配置的问题,也不是tomcat的问题。web应用程序正在调用一个REST API,该API由于受到DDoS攻击而突然离线。我们注释了这个调用,所有的工作都很好。感谢那些看过这篇文章并提出建议的人。
https://stackoverflow.com/questions/30786606
复制相似问题