Workaround for nginx nesting bug