Enabling leverage caching on nginx causes panel problems

Hm, not familiar with nginx rules, but someone else had the same unsolved issue: Undefined is not an object (evaluating 't.file.blueprint.name')

Wonder if it would help to modify the rule in a way to not affect panel paths?