fix nginx header lost bug