config_reverse_proxy - euzu/tuliprox GitHub Wiki
This configuration is only used for reverse proxy mode. The Reverse Proxy mode can be activated for each user individually.
stream
Contains settings for the streaming.
-
The
retry
option is for transparent reconnections to the provider on provider disconnects or stream errors. -
buffer
: When buffer isenabled
, the stream is buffered with the configuredsize
.size
is the amount of8092 byte
chunks. In this case the value1024
means approx8MB
for2Mbit/s
stream. -
a. if
retry
isfalse
andbuffer.enabled
isfalse
the provider stream is piped as is to the client. -
b. if
retry
istrue
orbuffer.enabled
istrue
the provider stream is processed and send to the client. -
The key difference: the
b.
approach is based on complex stream handling and more memory footprint.
cache
LRU-Cache is for resources. If it is enabled
, the resources/images are persisted in the given dir
. If the cache size exceeds size
,
In an LRU cache, the least recently used items are evicted to make room for new items if the cache size
is exceeded.
resource_rewrite_disabled
If you have m3u-filter behind a reverse proxy and dont want rewritten resource urls inside responses, you can disable the resource_url rewrite.
Default value is false.
If you set it true
cache
is disabled! Because the cache cant work without rewritten urls.
reverse_proxy:
resource_rewrite_disabled: fals
stream:
retry: true
buffer:
enabled: true
size: 1024
cache:
size: 100KB
enabled: true
dir: ./cache