fix nginx bad gateway error after update linux