update config.php.example, set auto as default engine

This commit is contained in:
Revvy
2023-12-29 18:05:20 -05:00
parent f0aa5827cc
commit f04e1ac0ae
3 changed files with 6 additions and 7 deletions
+4 -5
View File
@@ -127,11 +127,10 @@
"preferred_engines" => array(
/* replace with "text" => "duckduckgo" to use duckduckgo instead
* (recommended if being ratelimited */
"text" => "google"
// "text" => "duckduckgo"
/* replace "auto" with a specific engine if you wish to use only that one engine, which may increase rate limiting
use default "auto" to automatically use any engine that is working
available engines: "brave", "duckduckgo", "ecosia", "google", "mojeek", "yandex" */
"text" => "auto"
),
+1 -1
View File
@@ -128,7 +128,7 @@ This docker image was developed with high configurability in mind, so here is th
### Engines
| Variables | Default | Examples | Description |
|:----------|:-------------|:---------|:------|
| CONFIG_TEXT_SEARCH_ENGINE | "google" | "google", "duckduckgo" | Integration with external self-hosted apps, configure the desired host. |
| CONFIG_TEXT_SEARCH_ENGINE | "auto" | "brave", "duckduckgo", "ecosia", "google", "mojeek", "yandex" | Use a specific search engine, or "auto" to use any available search engine. |
### cURL
| Variables | Default | Examples | Description |
+1 -1
View File
@@ -49,7 +49,7 @@ export APP_ANONYMOUS_OVERFLOW=${APP_ANONYMOUS_OVERFLOW:-""}
export APP_SUDS=${APP_SUDS:-""}
export APP_BIBLIOREADS=${APP_BIBLIOREADS:-""}
export CONFIG_TEXT_SEARCH_ENGINE=${CONFIG_TEXT_SEARCH_ENGINE:-"google"}
export CONFIG_TEXT_SEARCH_ENGINE=${CONFIG_TEXT_SEARCH_ENGINE:-"auto"}
# GNU/Curl configurations. Leave 'CURLOPT_PROXY' blank whether you don't need to use a proxy for requests
# Generally, a proxy is needed when your IP address is blocked by search engines in response to multiple requests within a short time frame. In these cases, it is recommended to use rotating proxies