updated config so that HEAD request would go directly to the backend