mirror of https://github.com/searx/searx
Deploy searx/searx to github.com/searx/searx.git:gh-pages
This commit is contained in:
parent
e331300bd5
commit
998467870a
|
@ -224,8 +224,8 @@ a name of your choice – <em>and/or</em> edit <code class="docutils literal not
|
|||
</div>
|
||||
<div class="ui bottom attached sphinx-tab tab segment sphinx-data-tab-YmFzaA== active docutils container">
|
||||
<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>$ sudo -H cp /usr/local/searx/searx-src/searx/settings.yml /etc/searx/settings.yml
|
||||
$ sudo -H sed -i -e s/ultrasecretkey/<span class="se">\f</span>67c49c19147657155987c08047a2c91/g /etc/searx/settings.yml
|
||||
$ sudo -H sed -i -e s/<span class="o">{</span>instance_name<span class="o">}</span>/searx@<span class="se">\t</span>ravis-job-cf904d99-2f1f-49a3-ae6d-a28cd49d76c4/g /etc/searx/settings.yml
|
||||
$ sudo -H sed -i -e s/ultrasecretkey/<span class="se">\c</span>8b3b73a563b408c8cd7f75e1a115cfb/g /etc/searx/settings.yml
|
||||
$ sudo -H sed -i -e s/<span class="o">{</span>instance_name<span class="o">}</span>/searx@<span class="se">\t</span>ravis-job-411ca712-c4f3-403e-a214-e4f6ea637014/g /etc/searx/settings.yml
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -222,18 +222,18 @@ inspect service
|
|||
show service status and log
|
||||
option
|
||||
set one of the available options
|
||||
apache (http://10.20.255.26/searx)
|
||||
apache (http://10.20.0.154/searx)
|
||||
:install: apache site with a reverse proxy (ProxyPass)
|
||||
:remove: apache site searx.conf
|
||||
nginx (http://10.20.255.26/searx)
|
||||
nginx (http://10.20.0.154/searx)
|
||||
:install: nginx site with a reverse proxy (ProxyPass)
|
||||
:remove: nginx site searx.conf
|
||||
|
||||
filtron rules: /etc/filtron/rules.json
|
||||
|
||||
If needed, set PUBLIC_URL of your WEB service in the '.config.sh' file::
|
||||
PUBLIC_URL : http://10.20.255.26/searx
|
||||
PUBLIC_HOST : 10.20.255.26
|
||||
PUBLIC_URL : http://10.20.0.154/searx
|
||||
PUBLIC_HOST : 10.20.0.154
|
||||
SERVICE_USER : filtron
|
||||
FILTRON_TARGET : 127.0.0.1:8888
|
||||
FILTRON_API : 127.0.0.1:4005
|
||||
|
|
|
@ -195,7 +195,7 @@ install
|
|||
:base: prepare LXC; install basic packages
|
||||
:suite: install LXC searx suite into all (or <name>) containers
|
||||
|
||||
LXC suite: searx --> http://10.20.255.26/searx
|
||||
LXC suite: searx --> http://10.20.0.154/searx
|
||||
suite includes searx, morty & filtron
|
||||
suite images:
|
||||
ubu1604 ubu1804 ubu1910 ubu2004 fedora31 archlinux centos7
|
||||
|
|
|
@ -224,22 +224,22 @@ inspect service
|
|||
option
|
||||
set one of the available options
|
||||
:new-key: set new morty key
|
||||
apache : http://10.20.255.26/morty/
|
||||
apache : http://10.20.0.154/morty/
|
||||
:install: apache site with a reverse proxy (ProxyPass)
|
||||
:remove: apache site morty.conf
|
||||
nginx (http://10.20.255.26/morty/)
|
||||
nginx (http://10.20.0.154/morty/)
|
||||
:install: nginx site with a reverse proxy (ProxyPass)
|
||||
:remove: nginx site morty.conf
|
||||
|
||||
If needed, set the environment variables in the '.config.sh' file::
|
||||
PUBLIC_URL_MORTY: http://10.20.255.26/morty/
|
||||
PUBLIC_URL_MORTY: http://10.20.0.154/morty/
|
||||
MORTY_LISTEN: 127.0.0.1:3000
|
||||
SERVICE_USER: morty
|
||||
|
||||
To activate result and image proxy in searx, edit settings.yml (read:
|
||||
https://searx.github.io/searx/admin/morty.html)::
|
||||
result_proxy:
|
||||
url : http://10.20.255.26/morty/
|
||||
url : http://10.20.0.154/morty/
|
||||
server:
|
||||
image_proxy : True
|
||||
</pre></div>
|
||||
|
|
|
@ -114,8 +114,8 @@ apache
|
|||
searx settings: /etc/searx/settings.yml
|
||||
|
||||
If needed, set PUBLIC_URL of your WEB service in the '.config.sh' file::
|
||||
PUBLIC_URL : http://10.20.255.26/searx
|
||||
SEARX_INSTANCE_NAME : searx@10.20.255.26
|
||||
PUBLIC_URL : http://10.20.0.154/searx
|
||||
SEARX_INSTANCE_NAME : searx@10.20.0.154
|
||||
SERVICE_USER : searx
|
||||
SEARX_INTERNAL_HTTP : http://127.0.0.1:8888
|
||||
</pre></div>
|
||||
|
|
Loading…
Reference in New Issue