fix nginx configuration issue