diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-27 12:53:03 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-27 13:24:09 +0200 |
commit | cc1195188550639f6fad98eeeb963bd0daf77b7b (patch) | |
tree | 6f86af06318421108de560e9e86b98439bcfc84b | |
parent | 17fde80ece0e7aab5635b50aaf9d81d19ba319d2 (diff) | |
download | searxng-cc1195188550639f6fad98eeeb963bd0daf77b7b.tar.gz searxng-cc1195188550639f6fad98eeeb963bd0daf77b7b.zip |
[fix] .config.sh: typo SEARX_INTERNAL_URL --> SEARX_INTERNAL_HTTP
There is a typo in .config.sh that causes confusion more and more often.
SEARX_INTERNAL_HTTP should be the correct name of the environment variable.
First mentioned in [1] and also discussed in [2].
[1] https://github.com/searx/searx/pull/2273
[2] https://github.com/searx/searx/discussions/2863
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r-- | .config.sh | 2 | ||||
-rw-r--r-- | docs/build-templates/searx.rst | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.config.sh b/.config.sh index e9e79d82c..3a17b8b29 100644 --- a/.config.sh +++ b/.config.sh @@ -25,7 +25,7 @@ fi # searx.sh # --------- -# SEARX_INTERNAL_URL="127.0.0.1:8888" +# SEARX_INTERNAL_HTTP="127.0.0.1:8888" # SEARX_SETTINGS_TEMPLATE="${REPO_ROOT}/utils/templates/etc/searx/use_default_settings.yml" # Only change, if you maintain a searx brand in your searx fork (GIT_URL) which diff --git a/docs/build-templates/searx.rst b/docs/build-templates/searx.rst index ead096ed8..33ed9601c 100644 --- a/docs/build-templates/searx.rst +++ b/docs/build-templates/searx.rst @@ -176,7 +176,7 @@ ${fedora_build} # disable debug $ sudo -H sed -i -e \"s/debug : True/debug : False/g\" \"$SEARX_SETTINGS_PATH\" -Open WEB browser and visit http://$SEARX_INTERNAL_URL . If you are inside a +Open WEB browser and visit http://$SEARX_INTERNAL_HTTP . If you are inside a container or in a script, test with curl: .. tabs:: @@ -185,13 +185,13 @@ container or in a script, test with curl: .. code-block:: sh - $ xdg-open http://$SEARX_INTERNAL_URL + $ xdg-open http://$SEARX_INTERNAL_HTTP .. group-tab:: curl .. code-block:: none - $ curl --location --verbose --head --insecure $SEARX_INTERNAL_URL + $ curl --location --verbose --head --insecure $SEARX_INTERNAL_HTTP * Trying 127.0.0.1:8888... * TCP_NODELAY set |