Skip to content

Commit

Permalink
Document HTTP proxy configuration for Edge Proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
rolodato authored and matthewelwell committed Dec 20, 2024
1 parent d865416 commit 31bb7a5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/docs/deployment/hosting/locally-edge-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ docker run \

<details>
<summary>Docker Compose</summary>
```yaml
```yaml title="compose.yaml"
services:
edge_proxy:
image: flagsmith/edge-proxy:latest
Expand Down Expand Up @@ -56,7 +56,7 @@ Environment variables are case-insensitive, and are processed using

<summary>Configuration file</summary>

```json
```json title="/app/config.json"
{
"environment_key_pairs": [
{
Expand Down Expand Up @@ -277,10 +277,13 @@ return 200

### Environment Variables

You can configure the Edge Proxy with the following Environment Variables:
You can configure the Edge Proxy with the following environment variables:

- `WEB_CONCURRENCY` The number of [Uvicorn](https://www.uvicorn.org/) workers. Defaults to `1`. Set to the number of
available CPU cores.
- `HTTP_PROXY`, `HTTPS_PROXY`, `ALL_PROXY`, `NO_PROXY`: These variables let you configure an HTTP proxy that the
Edge Proxy should use for all its outgoing HTTP requests.
[Learn more](https://www.python-httpx.org/environment_variables)

## Monitoring

Expand Down

0 comments on commit 31bb7a5

Please sign in to comment.