nginx · Server

Fix ERR_SPDY_PROTOCOL_ERROR nginx error on Chrome


There is a nefarious error on nginx that in rare cases can throw an ERR_SPDY_PROTOCOL_ERROR for the users of Chrome. TLDR: Check your nginx add_headers directives for invalid characters within any HTTP2 server configurations. I call this out as attempting to troubleshoot it online can lead you down a rabbit hole of old and misinformation.… Continue reading Fix ERR_SPDY_PROTOCOL_ERROR nginx error on Chrome

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