A Virtual Home - infrastructurehttps://blog.avirtualhome.com/All about Python, Django, and infrastructureWed, 28 Mar 2018 09:03:00 -0400Replace JPEG libraries with MozJPEGhttps://blog.avirtualhome.com/replace-jpeg-libraries-with-mozjpeg/<p>For a project in Python we had to squeeze more bytes out of <span class="caps">JPG</span> files using Pillow. Currently MozJPEG fits that bill but there isn&rsquo;t a repository available to install it on&nbsp;Ubuntu.</p>Peter van der DoesWed, 28 Mar 2018 09:03:00 -0400tag:blog.avirtualhome.com,2018-03-28:/replace-jpeg-libraries-with-mozjpeg/jpegMozJPEGUbuntuPillowCreate a custom 410 error page in NGINXhttps://blog.avirtualhome.com/create-custom-410-error-page-nginx/<p>I had a need to create a 410 page for a whole bunch pages. As it turns out it was not as easy as it&nbsp;sounds</p>Peter van der DoesFri, 23 Mar 2018 08:03:00 -0400tag:blog.avirtualhome.com,2018-03-23:/create-custom-410-error-page-nginx/nginx