> ## Documentation Index
> Fetch the complete documentation index at: https://loadwise.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# next-image-any-remote-host

> A Next.js images.remotePatterns entry sets hostname '**', so the image optimizer fetches and serves any host (open proxy).

## What it flags

A Next.js `images.remotePatterns` entry sets `hostname: '**'`, so the image optimizer fetches and serves images from any host the entry's protocol, port and pathname allow: a proxy anyone can use.

## Configuration

Set the rule to `"off"` in `loadwise.config.json` to drop its findings:

```json theme={null}
{
  "rules": { "next-image-any-remote-host": "off" }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.