diff options
author | rafa_99 <raroma09@gmail.com> | 2022-04-24 18:28:42 +0100 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2022-04-24 18:28:42 +0100 |
commit | e31c732a5e8d0e1212624718de9738560396ab49 (patch) | |
tree | e0b5de7f35f7292084ac8368563156f295e63bdc | |
parent | c7912d00414f9a320412a6c190ed5ea2fcc124f5 (diff) |
Fixed some hostname problems
-rwxr-xr-x | searx/deploy | 1 | ||||
-rw-r--r-- | searx/searx/settings.yml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/searx/deploy b/searx/deploy index 2c8ef56..998b393 100755 --- a/searx/deploy +++ b/searx/deploy @@ -22,6 +22,7 @@ sudo -H -u searx /usr/local/searx/searx-pyenv/bin/pip install -e "/usr/local/sea ## Configuring SearX sudo -H cp -rf "searx/" "/etc/" +sudo -H sed -i s:YOURHOSTNAME:"$(hostname)":g /etc/searx/settings.yml # uwsgi sudo -H cp -rf uwsgi/ /etc/ diff --git a/searx/searx/settings.yml b/searx/searx/settings.yml index 6b50a92..351ed45 100644 --- a/searx/searx/settings.yml +++ b/searx/searx/settings.yml @@ -13,7 +13,7 @@ server: port : 8888 bind_address : "127.0.0.1" # address to listen on secret_key : "" # change this! - base_url : "https://127.0.0.1/searx" # Set custom base_url. Possible values: False or "https://your.custom.host/location/" + base_url : "https://YOURHOSTNAME/searx" # Set custom base_url. Possible values: False or "https://your.custom.host/location/" image_proxy : False # Proxying image results through searx ui: |