fix nginx-up script