Skip to main content
Config lists every Edge configuration option.

Configuration File

Edge uses a JSON configuration file. Pass the path as the first argument:

Full Example

config.json

Configuration Reference

Edge supports up to 8,000 policies. Open an issue on GitHub if you need more.

Server Settings

Upstream Settings

Workspace Settings

Policy Providers

The policy_providers array configures where Edge loads policies from.

File Provider

Loads policies from a local file and watches for changes.
Edge watches the file with inotify (Linux) or kqueue (macOS) and applies changes on save.

HTTP Provider

Loads policies from an HTTP endpoint with periodic polling.

Policy File Format

Define policies in a JSON file:
policies.json
See the Policies section for detailed policy configuration.

Environment Variables

Next Steps

Operations

Logging, health checks, and resource requirements

Log Filtering

Configure log filtering policies