fix nginx config and install