mirror of
https://github.com/searxng/searxng
synced 2024-11-05 06:01:05 +00:00
Merge pull request #182 from return42/fix-.config.sh
[fix] .config.sh: typo SEARX_INTERNAL_URL --> SEARX_INTERNAL_HTTP
This commit is contained in:
commit
2988ef2ca5
@ -25,7 +25,7 @@ fi
|
|||||||
# searx.sh
|
# 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"
|
# 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
|
# Only change, if you maintain a searx brand in your searx fork (GIT_URL) which
|
||||||
|
@ -176,7 +176,7 @@ ${fedora_build}
|
|||||||
# disable debug
|
# disable debug
|
||||||
$ sudo -H sed -i -e \"s/debug : True/debug : False/g\" \"$SEARX_SETTINGS_PATH\"
|
$ 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:
|
container or in a script, test with curl:
|
||||||
|
|
||||||
.. tabs::
|
.. tabs::
|
||||||
@ -185,13 +185,13 @@ container or in a script, test with curl:
|
|||||||
|
|
||||||
.. code-block:: sh
|
.. code-block:: sh
|
||||||
|
|
||||||
$ xdg-open http://$SEARX_INTERNAL_URL
|
$ xdg-open http://$SEARX_INTERNAL_HTTP
|
||||||
|
|
||||||
.. group-tab:: curl
|
.. group-tab:: curl
|
||||||
|
|
||||||
.. code-block:: none
|
.. 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...
|
* Trying 127.0.0.1:8888...
|
||||||
* TCP_NODELAY set
|
* TCP_NODELAY set
|
||||||
|
Loading…
Reference in New Issue
Block a user