Local
The proxy-config.yaml
file is used to configure Qpoint Proxy, defining global settings, endpoint-specific rules, and optional middleware stacks.
Configuration File Structure
The proxy-config.yaml
file consists of three main sections:
Global Proxy Settings
Endpoints
Stacks (Optional)
Global Settings
These settings apply across the entire proxy configuration.
audit_logs: Sets the output for audit logs
default_domain_action: Sets the default action for domain requests not explicitly defined in the endpoints section.
jwt_hmac_key (optional): Key used for HMAC to validate JWTs for Access Control.
tls_ca_crt (optional): Path or inline CA certificate for optional SSL/TLS termination.
tls_ca_key (optional): Path or inline CA key for optional SSL/TLS termination
Endpoints
Controls traffic based on the requested domain, with specific rules for each domain.
domain: The specific domain to which the rule applies.
action: Default action for this domain (
ALLOW
orDENY
).allow/deny: Conditions to override the default action based on IP addresses, user credentials, or JWT claims.
cert: SSL/TLS certificate configurations for the endpoint.
ca: Path or inline CA certificate.
crt: Path or inline server certificate.
key: Path or inline private key.
stack: Name of a middleware stack to apply additional inline processing (optional).
Stacks (Optional)
Defines groups of middleware modules for enhanced traffic processing. See more detailed information in Middleware Stacks
stacks: Top-level section defining all middleware stacks.
default: Name of the stack.
middlewares: List of middleware modules in each stack.
name: Descriptive name of the middleware.
config: Configuration parameters for the middleware.
wasm: Path to the WebAssembly module, either a local path or a remote URI.
Examples of Endpoint Configurations
Without SSL/TLS Termination & Without Stack
With SSL/TLS Termination & With Stack
Last updated