mirror of https://github.com/searx/searx
Deploying to gh-pages from @ b1e5ff3cf7
🚀
This commit is contained in:
parent
65a032a472
commit
283459984f
|
@ -1614,9 +1614,10 @@ $ sudo -H sed -i -e <span class="s2">"s/{instance_name}/searx@</span><span
|
|||
<span class="nt">engine </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">xpath</span>
|
||||
<span class="nt">paging </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">True</span>
|
||||
<span class="nt">search_url </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">https://petalsearch.com/search?query={query}&pn={pageno}</span>
|
||||
<span class="nt">title_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">//div[@class="card-title"]/span</span>
|
||||
<span class="nt">url_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">//a[@class="card-main"]/@href</span>
|
||||
<span class="nt">content_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">//div[@class="webpage-text"]</span>
|
||||
<span class="nt">results_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">//div[@class="container"]/div[@class="container"]</span>
|
||||
<span class="nt">title_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">.//a[@class="title"]</span>
|
||||
<span class="nt">url_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">.//a[@class="title"]/@href</span>
|
||||
<span class="nt">content_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">.//div[@class="webpage-text"]</span>
|
||||
<span class="nt">page_size </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">12</span>
|
||||
<span class="nt">categories </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">general</span>
|
||||
<span class="nt">timeout </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">4.0</span>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -183,18 +183,18 @@ inspect service
|
|||
show service status and log
|
||||
option
|
||||
set one of the available options
|
||||
apache (http://fv-az246-507/searx)
|
||||
apache (http://fv-az121-658/searx)
|
||||
:install: apache site with a reverse proxy (ProxyPass)
|
||||
:remove: apache site searx.conf
|
||||
nginx (http://fv-az246-507/searx)
|
||||
nginx (http://fv-az121-658/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://fv-az246-507/searx
|
||||
PUBLIC_HOST : fv-az246-507
|
||||
PUBLIC_URL : http://fv-az121-658/searx
|
||||
PUBLIC_HOST : fv-az121-658
|
||||
SERVICE_USER : filtron
|
||||
FILTRON_TARGET : 127.0.0.1:8888
|
||||
FILTRON_API : 127.0.0.1:4005
|
||||
|
|
|
@ -193,7 +193,7 @@ install
|
|||
:base: prepare LXC; install basic packages
|
||||
:suite: install LXC searx suite into all (or <name>) containers
|
||||
|
||||
LXC suite: searx --> http://fv-az246-507/searx
|
||||
LXC suite: searx --> http://fv-az121-658/searx
|
||||
suite includes searx, morty & filtron
|
||||
suite images:
|
||||
ubu1804 ubu2004 ubu2010 fedora33 archlinux centos7
|
||||
|
|
|
@ -185,22 +185,22 @@ inspect service
|
|||
option
|
||||
set one of the available options
|
||||
:new-key: set new morty key
|
||||
apache : http://fv-az246-507/morty/
|
||||
apache : http://fv-az121-658/morty/
|
||||
:install: apache site with a reverse proxy (ProxyPass)
|
||||
:remove: apache site morty.conf
|
||||
nginx (http://fv-az246-507/morty/)
|
||||
nginx (http://fv-az121-658/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://fv-az246-507/morty/
|
||||
PUBLIC_URL_MORTY: http://fv-az121-658/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://fv-az246-507/morty/
|
||||
url : http://fv-az121-658/morty/
|
||||
server:
|
||||
image_proxy : True
|
||||
</pre></div>
|
||||
|
|
|
@ -112,8 +112,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://fv-az246-507/searx
|
||||
SEARX_INSTANCE_NAME : searx@fv-az246-507
|
||||
PUBLIC_URL : http://fv-az121-658/searx
|
||||
SEARX_INSTANCE_NAME : searx@fv-az121-658
|
||||
SERVICE_USER : searx
|
||||
SEARX_INTERNAL_HTTP : http://127.0.0.1:8888
|
||||
</pre></div>
|
||||
|
|
Loading…
Reference in New Issue