This is on a server running Ubuntu 16.04.3 LTS, serving an Angular web application. The sites works completely fine, but is very slow to load pages, taking a number of minutes at times. I’ve tried various solution including This. Which did significantly speed up the site but made some pages inaccessible.

Ubuntu VPS Hosting via Very Slow Reverse Proxy on Nginx.