Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Document HTTP proxy configuration for Edge Proxy #4928

Merged
merged 3 commits into from
Dec 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading