With this release, we have changed the vhost scaffolding template for the Magento 2 vhost type when Varnish is enabled for the vhost.

Previously, all requests were passed on to varnish, which means that also the static assets and the media files were being passed to varnish. Because the Magento 2 Varnish configuration passes static/media requests on directly to nginx, this meant that static/media requests were always passed from nginx -> varnish -> nginx.

We have changed this behavior, so that the static/media requests are handled by nginx directly. This slightly reduces the load on nginx and varnish and also reduces the log sizes for both services.

Please keep in mind that we will not be changing this behavior to all existing Magento 2 vhosts, this only applies for new vhosts or when changing from another vhost type to magento2.