mirror of
https://github.com/open-webui/docs
synced 2025-06-09 08:06:20 +00:00
Update web_search.md
This commit is contained in:
parent
fd7bcd6f00
commit
a1fb0ff5bf
@ -47,7 +47,7 @@ Add the following to the `.env` file:
|
||||
# By default listen on https://localhost
|
||||
# To change this:
|
||||
# * uncomment SEARXNG_HOSTNAME, and replace <host> by the SearXNG hostname
|
||||
# * uncomment LETSENCRYPT_EMAIL, and replace <email> by your email (require to create a Let's Encrypt certificate)
|
||||
# * uncomment LETSENCRYPT_EMAIL, and replace <email> by your email (required to create a Let's Encrypt certificate)
|
||||
|
||||
|
||||
SEARXNG_HOSTNAME=example.locale
|
||||
@ -74,7 +74,8 @@ sudo chmod a+rwx searxng-docker/searxng
|
||||
```bash
|
||||
|
||||
cat > searxng-docker/searxng/limiter.toml << EOF
|
||||
# This configuration file updates the default configuration file See https://github.com/searxng/searxng/blob/master/searx/botdetection/limiter.toml
|
||||
# This configuration file updates the default configuration file
|
||||
# See https://github.com/searxng/searxng/blob/master/searx/botdetection/limiter.toml
|
||||
|
||||
[botdetection.ip_limit]
|
||||
# activate link_token method in the ip_limit method
|
||||
@ -118,6 +119,8 @@ Change the `bind_address` as desired:
|
||||
sed -i 's/bind_address: "0.0.0.0"/bind_address: "127.0.0.1"/' searxng-docker/searxng/settings.yml
|
||||
```
|
||||
|
||||
Now, copy the modified `searxng` folder to the same directory as your compose file.
|
||||
|
||||
#### Configuration Files
|
||||
|
||||
#### searxng-docker/searxng/settings.yml (Extract)
|
||||
@ -221,8 +224,6 @@ offload-threads = 4
|
||||
|
||||
</details>
|
||||
|
||||
Now, copy the modified `searxng` folder to the same directory as your compose file.
|
||||
|
||||
Alternatively, if you don't want to modify the default configuration, you can simply create an empty `searxng-docker` folder and follow the rest of the setup instructions.
|
||||
|
||||
### 2. Docker Compose Setup
|
||||
|
Loading…
Reference in New Issue
Block a user