Перейти к содержимому

Outbound Proxy

Это содержимое пока не доступно на вашем языке.

When NORA proxies packages from upstream registries (npmjs.org, pypi.org, registry.docker.io, etc.), it makes outbound HTTP/HTTPS requests. In corporate environments these requests often need to go through a forward proxy.

NORA respects the standard proxy environment variables used by most HTTP clients.

VariableExampleDescription
HTTP_PROXYhttp://proxy.corp:3128Proxy for HTTP requests
HTTPS_PROXYhttp://proxy.corp:3128Proxy for HTTPS requests
ALL_PROXYsocks5://proxy.corp:1080Proxy for all protocols (lowest priority)
NO_PROXYlocalhost,127.0.0.1,.internalComma-separated list of hosts/domains to bypass

Both uppercase and lowercase variants are supported (HTTP_PROXY and http_proxy). Uppercase takes precedence.

services:
nora:
image: ghcr.io/getnora-io/nora:latest
environment:
NORA_HOST: "0.0.0.0"
HTTPS_PROXY: http://proxy.corp.example.com:3128
NO_PROXY: localhost,127.0.0.1,10.0.0.0/8,.corp.example.com
ports:
- 4000:4000
[Service]
Environment="HTTPS_PROXY=http://proxy.corp.example.com:3128"
Environment="NO_PROXY=localhost,127.0.0.1,10.0.0.0/8"
ExecStart=/usr/local/bin/nora serve

The NO_PROXY variable accepts:

  • Exact hostnames: registry.internal
  • Domain suffixes with dot: .corp.example.com (matches anything.corp.example.com)
  • IP addresses: 127.0.0.1, 10.0.0.1
  • CIDR ranges: 10.0.0.0/8, 172.16.0.0/12
  • Wildcard: * (disable proxy for all requests)

NORA logs the detected proxy configuration at startup:

INFO Outbound proxy detected from environment var=HTTPS_PROXY proxy=http://proxy.corp:3128
INFO NO_PROXY exclusions configured no_proxy=localhost,127.0.0.1,.internal

If you don’t see these lines, the environment variables are not reaching the NORA process. Check your Docker Compose or systemd configuration.

  • Settings — all configuration options
  • Docker Proxy — pull-through cache for Docker images
  • TLS / HTTPS — custom CA certificates for upstream registries