Settings
The settings
block lets you configure the more basic and global behavior of your
gateway instance.
Attributes
Name | Type | Default | Description |
---|---|---|---|
accept_forwarded_url | tuple (string) | [] | Which |
beta_metrics | bool | false | Enables the Prometheus metrics exporter. |
beta_metrics_port | number | 9090 | Prometheus exporter listen port. |
beta_service_name | string | "couper" | Service name which applies to the |
bind_address | string | "*" | A comma-separated list of addresses to bind. |
ca_file | string | - | Adds the given PEM encoded CA certificate to the existing system certificate pool for all outgoing connections. |
default_port | number | 8080 | Port which will be used if not explicitly specified per host within the |
environment | string | - | The environment Couper is to run in. |
health_path | string | "/healthz" | Health path for all configured servers and ports. |
https_dev_proxy | tuple (string) | [] | TLS port mappings to define the TLS listen port and the target one. Self-signed certificates will be generated on the fly based on the given hostname. Certificates will be held in memory. |
log_format | string | "common" | Tab/field based colored logs or JSON logs: |
log_level | string | "info" | Sets the log level: |
log_pretty | bool | false | Global option for |
no_proxy_from_env | bool | false | Disables the connect hop to configured proxy via environment. |
pprof | bool | false | Enables profiling. |
pprof_port | number | 6060 | Port for profiling interface. |
request_id_accept_from_header | string | - | Client request HTTP header field that transports the |
request_id_backend_header | string | "Couper-Request-ID" | HTTP header field which Couper uses to transport the |
request_id_client_header | string | "Couper-Request-ID" | HTTP header field which Couper uses to transport the |
request_id_format | string | "common" | If set to |
secure_cookies | string | "‌" | If set to |
server_timing_header | bool | false | If enabled, Couper includes an additional Server-Timing HTTP response header field detailing connection and transport relevant metrics for each backend request. |
xfh | bool | false | Whether to use the |