fix nginx 500 page during deploy