nginx: Match multiple locations / disable access log without returning

You're right, location working like switch case taking the first hit and break. Maybe you can try something like that:

if ($request_uri ~ ^/(_ipx|_nuxt)) {
    access_log off;
  }

instead of your first location statement.