-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproxy.env.example
More file actions
29 lines (22 loc) · 977 Bytes
/
proxy.env.example
File metadata and controls
29 lines (22 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# /etc/modelrelay/proxy.env — modelrelay-server configuration
#
# Copy this file and edit the values for your deployment.
# Lines starting with # are comments; uncomment to override defaults.
# Address the proxy listens on. Use 0.0.0.0:8080 to accept connections
# from all interfaces, or 127.0.0.1:8080 for localhost only.
LISTEN_ADDR=0.0.0.0:8080
# Shared secret that workers must present to register.
# REQUIRED — there is no default. Generate one with:
# openssl rand -hex 32
WORKER_SECRET=changeme
# Provider name used for routing and request dispatch.
# PROVIDER_NAME=local
# Maximum number of requests waiting in the queue (0 = unlimited).
# MAX_QUEUE_LEN=100
# Seconds before a queued request times out (0 = no timeout).
# QUEUE_TIMEOUT_SECS=30
# Seconds before an in-flight HTTP request times out (0 = no timeout).
# REQUEST_TIMEOUT_SECS=300
# Log level. Examples: info, debug, modelrelay_server=debug
# Overridden by RUST_LOG if set.
# LOG_LEVEL=info