Nex!™ routing runtime based on OpenResty & Lua
The following environment variables can be used to configure the behaviour of the nex-routing engine.
| Var | Values | Default | Description |
|---|---|---|---|
| NEWRELIC_APP_LICENSE_KEY | - | - | New Relic license key used to report monitoring data |
| NEWRELIC_APP_NAME | - | - | Under what name the engine should appear in New Relic |
| NGX_REAL_IP_HEADER | X-Real-IP, proxy_protocol | X-Real-IP | Which header or protocol to use to detect the real IP of the client from the load balancer |
| NGX_LISTEN_PROTOCOL | '', proxy_protocol | '' | Protocol to use when listening traffic from the load balancer |
| NGX_SET_REAL_IP_FROM | '', `<cidr | e.g. 0.0.0.0/0` | localhost |
| NGX_PROXY_BACKEND_PORT | <port_number> | 80 | Port to use when forwarding traffic to downstream machines |
| NGX_PROXY_X_FORWARDED_FOR | $proxy_protocol_addr, $proxy_add_x_forwarded_for | $proxy_add_x_forwarded_for | Which Nginx variable to use to set the X-Forwarded-For header downstream |
| NGX_PROXY_X_REAL_IP | $proxy_protocol_addr, $remote_addr | $remote_addr | Which Nginx variable to use to set the X-Real-IP header downstream |
| RESTY_WAF_MODE | ACTIVE, SIMULATE, INACTIVE | SIMULATE | Default mode for the Web Application Firewall |
| STATIC_PAGES_ROOT_URL | - | - | A public root URL where your error pages are located. Used to replace the built-in error pages. |
Content type
Image
Digest
Size
198.4 MB
Last updated
over 7 years ago
docker pull maestrano/nex-routing