proper condition nginx config change