mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[brand] SearXNG - reference /etc/searxng/settings.yml
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
3fad483b7a
commit
60edf2623d
9 changed files with 23 additions and 14 deletions
|
|
@ -155,6 +155,10 @@ install_searx_get_state(){
|
|||
# - user: ${SERVICE_USER}
|
||||
# - pyenv: ${SEARX_PYENV}
|
||||
|
||||
if [ -f /etc/searx/settings.yml ]; then
|
||||
err_msg "settings.yml in /etc/searx/ is deprecated, move file to folder /etc/searxng/"
|
||||
fi
|
||||
|
||||
if ! [ -r "${SEARX_SRC}" ]; then
|
||||
echo "missing-searx-clone"
|
||||
return
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ SERVICE_GROUP="${SERVICE_USER}"
|
|||
GIT_BRANCH="${GIT_BRANCH:-master}"
|
||||
SEARX_PYENV="${SERVICE_HOME}/searx-pyenv"
|
||||
SEARX_SRC="${SERVICE_HOME}/searx-src"
|
||||
SEARXNG_SETTINGS_PATH="/etc/searx/settings.yml"
|
||||
SEARXNG_SETTINGS_PATH="/etc/searxng/settings.yml"
|
||||
SEARX_UWSGI_APP="searx.ini"
|
||||
# shellcheck disable=SC2034
|
||||
SEARX_UWSGI_SOCKET="/run/uwsgi/app/searx/socket"
|
||||
|
|
|
|||
|
|
@ -21,11 +21,12 @@ search:
|
|||
# use codes from 'languages.py'
|
||||
default_lang: ''
|
||||
# remove format to deny access, use lower case.
|
||||
formats: [html, csv, json, rss]
|
||||
formats:
|
||||
- html
|
||||
|
||||
server:
|
||||
secret_key: "ultrasecretkey" # change this!
|
||||
# Proxying image results through searx
|
||||
# Proxying image results through SearXNG
|
||||
image_proxy: false
|
||||
|
||||
# result_proxy:
|
||||
Loading…
Add table
Add a link
Reference in a new issue