forked from realbestia1/EasyProxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (49 loc) · 2.44 KB
/
.env.example
File metadata and controls
59 lines (49 loc) · 2.44 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# ==================================================
# Proxy EasyProxy Configuration
# ==================================================
#
# Rename this file to ".env" and uncomment the variables you want to use.
# You can specify multiple proxies for a variable by separating them with a comma.
# The system will randomly select a proxy from the list for each request.
#
# Supported formats: http, https, socks5, socks5h, socks4, socks4a
# Example with authentication: http://user:password@host:port
# --- Global Proxy ---
# Used for all requests that don't have a specific rule in TRANSPORT_ROUTES.
# Example: GLOBAL_PROXY=http://myproxy.com:8080,socks5://user:pass@anotherproxy.com:1080
#GLOBAL_PROXY=
# --- Transport Rules (TRANSPORT_ROUTES) ---
# Advanced system for routing proxy based on URL patterns.
# Format: {URL=pattern, PROXY=proxy_url, DISABLE_SSL=true}, {URL=pattern2, PROXY=proxy_url2, DISABLE_SSL=true}
# - URL: pattern to search in the URL (e.g. vavoo.to, dlhd.dad, giokko.ru)
# - PROXY: proxy to use (leave empty for direct connection)
# - DISABLE_SSL: to disable SSL verification
# Examples:
# TRANSPORT_ROUTES={URL=vavoo.to, PROXY=socks5://proxy1:1080, DISABLE_SSL=true}, {URL=dlhd.dad, PROXY=http://proxy2:8080, DISABLE_SSL=true}
#TRANSPORT_ROUTES=
# --- Password API ---
# Protects access to the proxy API. If set, it must be passed
# as a query parameter (?api_password=...) or header (x-api-password).
#API_PASSWORD=password_segreta
# --- Server Port ---
# Specifies the port on which the server should listen (default: 7860)
#PORT=7860
# --- MPD Processing Mode ---
# Choose how to handle MPD/DASH streams:
# - ffmpeg: Transcoding via FFmpeg (requires FFmpeg installed, high CPU but better A/V sync)
# - legacy: Uses mpd_converter + drm_decrypter (lighter but possible compatibility issues)
#MPD_MODE=legacy
# --- Log Level ---
# Set the logging verbosity level: DEBUG, INFO, WARNING, ERROR, CRITICAL
# Default: WARNING (shows only warnings and errors for cleaner output)
# Use DEBUG for development/troubleshooting, INFO for normal operation details
#LOG_LEVEL=WARNING
# --- DVR/Recording Settings ---
# Enable DVR/recording functionality (default: false)
#DVR_ENABLED=false
# Directory where recordings will be saved (default: recordings)
#RECORDINGS_DIR=recordings
# Maximum recording duration in seconds (default: 28800 = 8 hours)
#MAX_RECORDING_DURATION=28800
# Auto-delete recordings older than X days (default: 7)
#RECORDINGS_RETENTION_DAYS=7