Skip to content

Site Modes ​

Each site specifies its proxy behaviour via the mode field. This section documents the purpose, configuration options and examples for every mode.

ModeConfig StringPurpose
GitHub Asset AccelerationgithubProxy GitHub Releases, Raw files, Gist downloads
Container Registry Proxy (Single)container_registry_singleProxy a specific OCI container registry
Container Registry Proxy (Any)container_registry_anyProxy any registry by writing the source registry in the image name
General HTTP Reverse ProxyhttpRoute requests to different upstreams by path prefix
Any URL Proxyany_urlProxy an upstream URL embedded in the request path
PyPI MirrorpypiProxy the PyPI index and rewrite download links
npm MirrornpmProxy an npm registry and rewrite download links in package metadata
Hugging Face Download Proxyhugging_faceAccelerate Hugging Face model and dataset downloads
Speed Testspeed_testProvide upload/download speed test endpoints (experimental)

Beyond the dedicated modes above, common upstreams such as Cargo, Conda, Go Modules, Gradle, Homebrew, Maven, and RubyGems can be proxied through general-purpose modes. See Supported Ecosystems.