mirror of
https://github.com/Ahwxorg/librey/
synced 2024-12-06 19:16:48 +01:00
update config.php.example, set auto as default engine
This commit is contained in:
+4
-5
@@ -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
@@ -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 |
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user