# YarpWebProxyConfig

- Module: [Aspire.Hosting.Yarp](/reference/api/go/aspire.hosting.yarp.md)
- Version: `17.0.0`
- Kind: `struct`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Represents web proxy configuration for a YARP cluster.

## Definition

```go
type YarpWebProxyConfig struct {
    Address               *string `json:"Address"`
    BypassOnLocal         *bool   `json:"BypassOnLocal"`
    UseDefaultCredentials *bool   `json:"UseDefaultCredentials"`
}
```

## Fields

- `Address`: `*string` -- Gets or sets the proxy address.
- `BypassOnLocal`: `*bool` `optional` -- Gets or sets a value indicating whether local addresses bypass the proxy.
- `UseDefaultCredentials`: `*bool` `optional` -- Gets or sets a value indicating whether the default credentials are used.
