Prevent error: upstream sent too big header while reading response header from upstream