Deploying to gh-pages from @ b1e5ff3cf7 🚀

This commit is contained in:
kvch 2021-08-12 16:29:39 +00:00
parent 65a032a472
commit 283459984f
6 changed files with 16 additions and 15 deletions

View File

@ -1614,9 +1614,10 @@ $ sudo -H sed -i -e <span class="s2">&quot;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}&amp;pn={pageno}</span>
<span class="nt">title_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">//div[@class=&quot;card-title&quot;]/span</span>
<span class="nt">url_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">//a[@class=&quot;card-main&quot;]/@href</span>
<span class="nt">content_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">//div[@class=&quot;webpage-text&quot;]</span>
<span class="nt">results_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">//div[@class=&quot;container&quot;]/div[@class=&quot;container&quot;]</span>
<span class="nt">title_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">.//a[@class=&quot;title&quot;]</span>
<span class="nt">url_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">.//a[@class=&quot;title&quot;]/@href</span>
<span class="nt">content_xpath </span><span class="p">:</span> <span class="l l-Scalar l-Scalar-Plain">.//div[@class=&quot;webpage-text&quot;]</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

View File

@ -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 &#39;.config.sh&#39; 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

View File

@ -193,7 +193,7 @@ install
:base: prepare LXC; install basic packages
:suite: install LXC searx suite into all (or &lt;name&gt;) containers
LXC suite: searx --&gt; http://fv-az246-507/searx
LXC suite: searx --&gt; http://fv-az121-658/searx
suite includes searx, morty &amp; filtron
suite images:
ubu1804 ubu2004 ubu2010 fedora33 archlinux centos7

View File

@ -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 &#39;.config.sh&#39; 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>

View File

@ -112,8 +112,8 @@ apache
searx settings: /etc/searx/settings.yml
If needed, set PUBLIC_URL of your WEB service in the &#39;.config.sh&#39; 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>