Added check to ignore folders in nginx config dir