fix nginx proxy