aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tesor.toml')
-rw-r--r--pkg/tesor.toml59+0 −59
1 files changed, 0 insertions, 59 deletions
diff --git a/pkg/tesor.toml b/pkg/tesor.toml
deleted file mode 100644
--- a/pkg/tesor.toml
+++ /dev/null
@@ -1,59 +0,0 @@
-# SPDX-FileCopyrightText: 2026 Nikolay Govorov
-# SPDX-License-Identifier: AGPL-3.0-or-later
-
-# tesor will dutifully indicate its user agent and protocols (for example, source for zig).
-# Specify your name if you want your instance to be identified.
-appname="tesor"
-
-# Path to the directory for storing state (indexes, caches, statistics).
-# Must be a writable directory.
-dirname="/var/lib/tesor"
-
-# Common server settings
-[server]
-shutdown_timeout = 60 # seconds
-request_timeout = 30 # seconds
-max_body_size = "64 MiB"
-max_concurrent_requests = 512
-rate_limit_period = 10
-rate_limit_burst_size = 50
-
-# Listeners configuration. Each listener has an address and optional hostnames.
-# Empty hostnames means accept all requests (catch-all).
-[[listen]]
-addr = "0.0.0.0:2025"
-hostnames = ["localhost", "127.0.0.1", "::1"]
-
-# For HTTPS, set tls_cert and tls_key to PEM file paths.
-# tls_crt = "/etc/tesor/cert.pem"
-# tls_key = "/etc/tesor/key.pem"
-
-# Telemetry configuration
-# Logs to stdout (pretty or json format)
-[telemetry.stdout]
-enabled = true
-log_level = "info" # trace, debug, info, warning, error
-log_format = "pretty" # pretty, json
-
-# OpenTelemetry Collector (OTLP)
-# Uncomment to enable sending logs and traces to an OTLP collector
-# [telemetry.otelcol]
-# enabled = true
-# logs = true
-# traces = true
-# endpoint = "http://localhost:4318" # HTTP protocol (no TLS)
-# # endpoint = "grpc://localhost:4317" # gRPC protocol (requires TLS)
-# timeout = 10 # seconds
-# log_level = "info"
-#
-# # For gRPC with TLS, specify certificates:
-# # tls_ca = "/etc/tesor/otel-ca.crt"
-# # tls_crt = "/etc/tesor/otel-client.crt" # for mTLS
-# # tls_key = "/etc/tesor/otel-client.key" # for mTLS
-#
-# # HTTP headers for authentication:
-# # [telemetry.otelcol.headers]
-# # Authorization = "Bearer <token>"
-
-# Environment variable TESOR_LOG overrides log_level settings.
-# Example: TESOR_LOG=debug,sqlx=warn