-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
42 lines (33 loc) · 1.46 KB
/
.env.example
File metadata and controls
42 lines (33 loc) · 1.46 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
# proxy-http-cache Configuration
# Copy this file to .env and update values for your environment
# =============================================================================
# Application Settings
# =============================================================================
APP_NAME="proxy-http-cache"
APP_VERSION="2.0.0"
DEBUG=false
# =============================================================================
# Server Settings
# =============================================================================
HOST=0.0.0.0
PORT=8000
# =============================================================================
# Redis Configuration
# =============================================================================
# Local Redis
REDIS_URL=redis://localhost:6379/0
# Upstash Redis (uncomment and configure)
# REDIS_URL=redis://default:YOUR_PASSWORD@YOUR_ENDPOINT.upstash.io:6379
# Cache TTL in seconds (default: 1 hour, 0 = no expiry)
CACHE_TTL_SECONDS=3600
# Cache key prefix (useful for multi-tenant setups)
CACHE_PREFIX=proxy:cache:
# =============================================================================
# Proxy Settings
# =============================================================================
# Request timeout in seconds
PROXY_TIMEOUT_SECONDS=30.0
# Maximum request body size (10MB default)
MAX_REQUEST_BODY_SIZE=10485760
# Headers to exclude when forwarding (comma-separated)
EXCLUDED_HEADERS=host,content-length,connection,accept-encoding,transfer-encoding