简体   繁体   中英

Issue loading an Apache (2.4) SSL site with Reverse Proxy to Tomcat (6.0)

I've been running a site for the past 3 years with out any issues. The current SSL certificate was applied the past December. It is running on the FreeBSD 10 operating system. Apache is configured as a reverse proxy passing to Tomcat 6.0. As of this week the initial loading of pages has become extremely slow and does not leave any messages for the user. Nothing seems to stand out in my logs either. I will try to post the configuration below in hopes someone with a fresh set of eyes sees something I'm overlooking. There have been no modifications to the configuration since the site was stood up. If you need any additional info I'll be happy to provide.

Thanks

 <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> 

Turns out the issue was not with the Apache configuration nor tomcat at all. The web app was calling a REST API that was suddenly taken offline due to getting DDoS attack. We commented this call out and all works great. Thanks for those who looked at this and made suggestions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM