aboutsummaryrefslogtreecommitdiff
path: root/config.default.ini.php
diff options
context:
space:
mode:
Diffstat (limited to 'config.default.ini.php')
-rw-r--r--config.default.ini.php29
1 files changed, 19 insertions, 10 deletions
diff --git a/config.default.ini.php b/config.default.ini.php
index c23372d9..6d646fd5 100644
--- a/config.default.ini.php
+++ b/config.default.ini.php
@@ -21,20 +21,15 @@
;enabled_bridges[] = ThePirateBay
;enabled_bridges[] = TikTokBridge
;enabled_bridges[] = Twitch
-;enabled_bridges[] = Vk
;enabled_bridges[] = XPathBridge
;enabled_bridges[] = Youtube
;enabled_bridges[] = YouTubeCommunityTabBridge
enabled_bridges[] = *
-; Defines the timezone used by RSS-Bridge
-; Find a list of supported timezones at
-; https://www.php.net/manual/en/timezones.php
-; timezone = "UTC" (default)
timezone = "UTC"
; Display a system message to users.
-message = ""
+;message = "Hello world"
; Whether to enable debug mode.
enable_debug_mode = false
@@ -46,14 +41,18 @@ enable_debug_mode = false
; Whether to enable maintenance mode. If enabled, feed requests receive 503 Service Unavailable
enable_maintenance_mode = false
+; Max file size for simple_html_dom in bytes (10000000 => 10 MB)
+max_file_size = 10000000
+
[http]
+
; Operation timeout in seconds
-timeout = 15
+timeout = 5
; Operation retry count in case of curl error
-retries = 2
+retries = 1
-; User agent
+; Curl user agent
useragent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0"
; Max http response size in MB
@@ -70,12 +69,13 @@ type = "file"
custom_timeout = false
[admin]
+
; Advertise an email address where people can reach the administrator.
; This address is displayed on the main page, visible to everyone!
; "" = Disabled (default)
email = ""
-; Advertise a contact Telegram url e.g. "https://t.me/elegantobjects"
+; Advertise a contact URL (can be any URL!) e.g. "https://t.me/elegantobjects"
telegram = ""
; Show Donation information for bridges if available.
@@ -86,6 +86,7 @@ telegram = ""
donations = true
[proxy]
+
; The HTTP proxy to tunnel requests through
; https://curl.se/libcurl/c/CURLOPT_PROXY.html
; "" = Proxy disabled (default)
@@ -135,6 +136,7 @@ report_limit = 1
; --- Cache specific configuration ---------------------------------------------
[FileCache]
+
; The root folder to store files in.
; "" = Use the cache folder in the repository (default)
path = ""
@@ -142,6 +144,7 @@ path = ""
enable_purge = true
[SQLiteCache]
+
; Filepath of the sqlite db file
file = "cache.sqlite"
; Whether to actually delete data when purging
@@ -150,11 +153,17 @@ enable_purge = true
timeout = 5000
[MemcachedCache]
+
host = "localhost"
port = 11211
; --- Bridge specific configuration ------
+[TelegramBridge]
+
+; Max pages to fetch (1 page => 20 messages), min=1 max=100
+max_pages = 1
+
[DiscogsBridge]
; Sets the personal access token for interactions with Discogs. When