fix nginx redirect