nginx · Server · Tomcat

Nginx as a reverse-proxy to Apache Tomcat


Why a proxy? Apache's Tomcat is a complex beast whose primary role is to render JavaServer Pages. While it can be configured to use and serve the modern web it's often an unnecessarily complex procedure. By using a dedicated reverse-proxy server such as nginx it allows you to separate web applications from the task of web serving. Use a solo instance of… Continue reading Nginx as a reverse-proxy to Apache Tomcat

Linux

Jetty 9.3 HTTP2 dependency issue with Ubuntu 14.04


The other day I was toying around with HTTP2 support and Jetty 9.3 on my Ubuntu Server 14.04 VM install. I had mostly followed the helpful instructions in the Jetty: The Definitive Reference on setting up the application as a web server with support for http, https, deploy modules. But whenever I tried to implement… Continue reading Jetty 9.3 HTTP2 dependency issue with Ubuntu 14.04

Linux · Security · Server · Tomcat

Secure and harden Apache Tomcat’s SSL/TLS


Introduction In this guide I will walk through the process of hardening HTTPS connectors used by Apache Tomcat. As unfortunately the default configuration of Ubuntu 14.04 LTS using Tomcat 7 and OpenJDK 7 are vulnerable to a number of attacks and weak encryptions. You can test your own site’s HTTPS implementation against these weaknesses at… Continue reading Secure and harden Apache Tomcat’s SSL/TLS