# Use PROXY Protocol

## Summary

Setting **Use PROXY Protocol** configures Pomerium to require the [PROXY protocol](https://www.haproxy.org/download/1.9/doc/proxy-protocol.txt) on incoming connections. Versions 1 and 2 of the protocol are supported.

PROXY protocol is not currently compatible with HTTP/3 and will be disabled on the QUIC UDP listener.

## How to configure

**Core:**

| **Config file keys** | **Environment variables** | **Type** | **Usage** | **Default** |
| :-- | :-- | :-- | :-- | :-- |
| `use_proxy_protocol` | `USE_PROXY_PROTOCOL` | `boolean` | **optional** | `false` |

### Examples

```yaml
use_proxy_protocol: true
```

```bash
USE_PROXY_PROTOCOL=true
```

**Enterprise:**

`use_proxy_protocol` is a bootstrap configuration setting and is not configurable in the Console.

**Kubernetes:**

| **[Parameter name](https://www.pomerium.com/docs/deploy/k8s/reference.md#spec)** | **Type** | **Usage** | **Default** |
| :-- | :-- | :-- | :-- |
| `useProxyProtocol` | `boolean` | **optional** | `false` |

### Examples

```yaml
useProxyProtocol: true
```
