1
0
mirror of https://github.com/searx/searx synced 2024-11-22 18:06:15 +01:00

Deploying to gh-pages from @ 1d10ae175c 🚀

This commit is contained in:
dalf 2021-03-04 10:31:09 +00:00
parent bdc3b034b9
commit c4b25d8994
9 changed files with 30 additions and 30 deletions

View File

@ -173,7 +173,7 @@ Use it along with ``nginx`` with the following example configuration.
location /searx { location /searx {
proxy_pass http://127.0.0.1:4004/; proxy_pass http://127.0.0.1:4004/;
proxy_set_header Host $http_host; proxy_set_header Host $host;
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View File

@ -182,7 +182,7 @@ Started wiki`_ is always a good resource *to keep in the pocket*.
location /searx { location /searx {
proxy_pass http://127.0.0.1:4004/; proxy_pass http://127.0.0.1:4004/;
proxy_set_header Host $http_host; proxy_set_header Host $host;
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@ -190,8 +190,8 @@ Started wiki`_ is always a good resource *to keep in the pocket*.
proxy_set_header X-Script-Name /searx; proxy_set_header X-Script-Name /searx;
} }
location /searx/static { location /searx/static/ {
alias /usr/local/searx/searx-src/searx/static; alias /usr/local/searx/searx-src/searx/static/;
} }
@ -205,7 +205,7 @@ Started wiki`_ is always a good resource *to keep in the pocket*.
location /morty { location /morty {
proxy_pass http://127.0.0.1:3000/; proxy_pass http://127.0.0.1:3000/;
proxy_set_header Host $http_host; proxy_set_header Host $host;
proxy_set_header Connection $http_connection; proxy_set_header Connection $http_connection;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@ -309,8 +309,8 @@ Started wiki`_ is always a good resource *to keep in the pocket*.
proxy_buffering off; proxy_buffering off;
} }
location /searx/static { location /searx/static/ {
alias /usr/local/searx/searx-src/searx/static; alias /usr/local/searx/searx-src/searx/static/;
} }
The ``X-Script-Name /searx`` is needed by the searx implementation to The ``X-Script-Name /searx`` is needed by the searx implementation to
@ -328,8 +328,8 @@ Started wiki`_ is always a good resource *to keep in the pocket*.
uwsgi_pass unix:/run/uwsgi/app/searx/socket; uwsgi_pass unix:/run/uwsgi/app/searx/socket;
} }
location /searx/static { location /searx/static/ {
alias /usr/local/searx/searx-src/searx; alias /usr/local/searx/searx-src/searx/;
} }
For searx to work correctly the ``base_url`` must be set in the For searx to work correctly the ``base_url`` must be set in the

View File

@ -203,7 +203,7 @@ of:</p>
<span class="k">location</span> <span class="s">/searx</span> <span class="p">{</span> <span class="k">location</span> <span class="s">/searx</span> <span class="p">{</span>
<span class="kn">proxy_pass</span> <span class="s">http://127.0.0.1:4004/</span><span class="p">;</span> <span class="kn">proxy_pass</span> <span class="s">http://127.0.0.1:4004/</span><span class="p">;</span>
<span class="kn">proxy_set_header</span> <span class="s">Host</span> <span class="nv">$http_host</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">Host</span> <span class="nv">$host</span><span class="p">;</span>
<span class="kn">proxy_set_header</span> <span class="s">Connection</span> <span class="nv">$http_connection</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">Connection</span> <span class="nv">$http_connection</span><span class="p">;</span>
<span class="kn">proxy_set_header</span> <span class="s">X-Real-IP</span> <span class="nv">$remote_addr</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">X-Real-IP</span> <span class="nv">$remote_addr</span><span class="p">;</span>
<span class="kn">proxy_set_header</span> <span class="s">X-Forwarded-For</span> <span class="nv">$proxy_add_x_forwarded_for</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">X-Forwarded-For</span> <span class="nv">$proxy_add_x_forwarded_for</span><span class="p">;</span>

View File

@ -164,7 +164,7 @@ figure: <a class="reference internal" href="architecture.html#arch-public"><span
<span class="k">location</span> <span class="s">/searx</span> <span class="p">{</span> <span class="k">location</span> <span class="s">/searx</span> <span class="p">{</span>
<span class="kn">proxy_pass</span> <span class="s">http://127.0.0.1:4004/</span><span class="p">;</span> <span class="kn">proxy_pass</span> <span class="s">http://127.0.0.1:4004/</span><span class="p">;</span>
<span class="kn">proxy_set_header</span> <span class="s">Host</span> <span class="nv">$http_host</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">Host</span> <span class="nv">$host</span><span class="p">;</span>
<span class="kn">proxy_set_header</span> <span class="s">Connection</span> <span class="nv">$http_connection</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">Connection</span> <span class="nv">$http_connection</span><span class="p">;</span>
<span class="kn">proxy_set_header</span> <span class="s">X-Real-IP</span> <span class="nv">$remote_addr</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">X-Real-IP</span> <span class="nv">$remote_addr</span><span class="p">;</span>
<span class="kn">proxy_set_header</span> <span class="s">X-Forwarded-For</span> <span class="nv">$proxy_add_x_forwarded_for</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">X-Forwarded-For</span> <span class="nv">$proxy_add_x_forwarded_for</span><span class="p">;</span>
@ -172,8 +172,8 @@ figure: <a class="reference internal" href="architecture.html#arch-public"><span
<span class="kn">proxy_set_header</span> <span class="s">X-Script-Name</span> <span class="s">/searx</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">X-Script-Name</span> <span class="s">/searx</span><span class="p">;</span>
<span class="p">}</span> <span class="p">}</span>
<span class="k">location</span> <span class="s">/searx/static</span> <span class="p">{</span> <span class="k">location</span> <span class="s">/searx/static/</span> <span class="p">{</span>
<span class="kn">alias</span> <span class="s">/usr/local/searx/searx-src/searx/static</span><span class="p">;</span> <span class="kn">alias</span> <span class="s">/usr/local/searx/searx-src/searx/static/</span><span class="p">;</span>
<span class="p">}</span> <span class="p">}</span>
</pre></div> </pre></div>
</div> </div>
@ -186,7 +186,7 @@ figure: <a class="reference internal" href="architecture.html#arch-public"><span
<span class="k">location</span> <span class="s">/morty</span> <span class="p">{</span> <span class="k">location</span> <span class="s">/morty</span> <span class="p">{</span>
<span class="kn">proxy_pass</span> <span class="s">http://127.0.0.1:3000/</span><span class="p">;</span> <span class="kn">proxy_pass</span> <span class="s">http://127.0.0.1:3000/</span><span class="p">;</span>
<span class="kn">proxy_set_header</span> <span class="s">Host</span> <span class="nv">$http_host</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">Host</span> <span class="nv">$host</span><span class="p">;</span>
<span class="kn">proxy_set_header</span> <span class="s">Connection</span> <span class="nv">$http_connection</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">Connection</span> <span class="nv">$http_connection</span><span class="p">;</span>
<span class="kn">proxy_set_header</span> <span class="s">X-Real-IP</span> <span class="nv">$remote_addr</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">X-Real-IP</span> <span class="nv">$remote_addr</span><span class="p">;</span>
<span class="kn">proxy_set_header</span> <span class="s">X-Forwarded-For</span> <span class="nv">$proxy_add_x_forwarded_for</span><span class="p">;</span> <span class="kn">proxy_set_header</span> <span class="s">X-Forwarded-For</span> <span class="nv">$proxy_add_x_forwarded_for</span><span class="p">;</span>
@ -271,8 +271,8 @@ searx application from a subdirectory URL <code class="docutils literal notransl
<span class="kn">proxy_buffering</span> <span class="no">off</span><span class="p">;</span> <span class="kn">proxy_buffering</span> <span class="no">off</span><span class="p">;</span>
<span class="p">}</span> <span class="p">}</span>
<span class="k">location</span> <span class="s">/searx/static</span> <span class="p">{</span> <span class="k">location</span> <span class="s">/searx/static/</span> <span class="p">{</span>
<span class="kn">alias</span> <span class="s">/usr/local/searx/searx-src/searx/static</span><span class="p">;</span> <span class="kn">alias</span> <span class="s">/usr/local/searx/searx-src/searx/static/</span><span class="p">;</span>
<span class="p">}</span> <span class="p">}</span>
</pre></div> </pre></div>
</div> </div>
@ -288,8 +288,8 @@ value is shipped via the <a class="reference external" href="https://werkzeug.pa
<span class="kn">uwsgi_pass</span> <span class="s">unix:/run/uwsgi/app/searx/socket</span><span class="p">;</span> <span class="kn">uwsgi_pass</span> <span class="s">unix:/run/uwsgi/app/searx/socket</span><span class="p">;</span>
<span class="p">}</span> <span class="p">}</span>
<span class="k">location</span> <span class="s">/searx/static</span> <span class="p">{</span> <span class="k">location</span> <span class="s">/searx/static/</span> <span class="p">{</span>
<span class="kn">alias</span> <span class="s">/usr/local/searx/searx-src/searx</span><span class="p">;</span> <span class="kn">alias</span> <span class="s">/usr/local/searx/searx-src/searx/</span><span class="p">;</span>
<span class="p">}</span> <span class="p">}</span>
</pre></div> </pre></div>
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -184,18 +184,18 @@ inspect service
show service status and log show service status and log
option option
set one of the available options set one of the available options
apache (http://fv-az144-591/searx) apache (http://fv-az178-536/searx)
:install: apache site with a reverse proxy (ProxyPass) :install: apache site with a reverse proxy (ProxyPass)
:remove: apache site searx.conf :remove: apache site searx.conf
nginx (http://fv-az144-591/searx) nginx (http://fv-az178-536/searx)
:install: nginx site with a reverse proxy (ProxyPass) :install: nginx site with a reverse proxy (ProxyPass)
:remove: nginx site searx.conf :remove: nginx site searx.conf
filtron rules: /etc/filtron/rules.json filtron rules: /etc/filtron/rules.json
If needed, set PUBLIC_URL of your WEB service in the &#39;.config.sh&#39; file:: If needed, set PUBLIC_URL of your WEB service in the &#39;.config.sh&#39; file::
PUBLIC_URL : http://fv-az144-591/searx PUBLIC_URL : http://fv-az178-536/searx
PUBLIC_HOST : fv-az144-591 PUBLIC_HOST : fv-az178-536
SERVICE_USER : filtron SERVICE_USER : filtron
FILTRON_TARGET : 127.0.0.1:8888 FILTRON_TARGET : 127.0.0.1:8888
FILTRON_API : 127.0.0.1:4005 FILTRON_API : 127.0.0.1:4005

View File

@ -194,7 +194,7 @@ install
:base: prepare LXC; install basic packages :base: prepare LXC; install basic packages
:suite: install LXC searx suite into all (or &lt;name&gt;) containers :suite: install LXC searx suite into all (or &lt;name&gt;) containers
LXC suite: searx --&gt; http://fv-az144-591/searx LXC suite: searx --&gt; http://fv-az178-536/searx
suite includes searx, morty &amp; filtron suite includes searx, morty &amp; filtron
suite images: suite images:
ubu1804 ubu2004 ubu2010 fedora31 archlinux centos7 ubu1804 ubu2004 ubu2010 fedora31 archlinux centos7

View File

@ -186,22 +186,22 @@ inspect service
option option
set one of the available options set one of the available options
:new-key: set new morty key :new-key: set new morty key
apache : http://fv-az144-591/morty/ apache : http://fv-az178-536/morty/
:install: apache site with a reverse proxy (ProxyPass) :install: apache site with a reverse proxy (ProxyPass)
:remove: apache site morty.conf :remove: apache site morty.conf
nginx (http://fv-az144-591/morty/) nginx (http://fv-az178-536/morty/)
:install: nginx site with a reverse proxy (ProxyPass) :install: nginx site with a reverse proxy (ProxyPass)
:remove: nginx site morty.conf :remove: nginx site morty.conf
If needed, set the environment variables in the &#39;.config.sh&#39; file:: If needed, set the environment variables in the &#39;.config.sh&#39; file::
PUBLIC_URL_MORTY: http://fv-az144-591/morty/ PUBLIC_URL_MORTY: http://fv-az178-536/morty/
MORTY_LISTEN: 127.0.0.1:3000 MORTY_LISTEN: 127.0.0.1:3000
SERVICE_USER: morty SERVICE_USER: morty
To activate result and image proxy in searx, edit settings.yml (read: To activate result and image proxy in searx, edit settings.yml (read:
https://searx.github.io/searx/admin/morty.html):: https://searx.github.io/searx/admin/morty.html)::
result_proxy: result_proxy:
url : http://fv-az144-591/morty/ url : http://fv-az178-536/morty/
server: server:
image_proxy : True image_proxy : True
</pre></div> </pre></div>

View File

@ -113,8 +113,8 @@ apache
searx settings: /etc/searx/settings.yml searx settings: /etc/searx/settings.yml
If needed, set PUBLIC_URL of your WEB service in the &#39;.config.sh&#39; file:: If needed, set PUBLIC_URL of your WEB service in the &#39;.config.sh&#39; file::
PUBLIC_URL : http://fv-az144-591/searx PUBLIC_URL : http://fv-az178-536/searx
SEARX_INSTANCE_NAME : searx@fv-az144-591 SEARX_INSTANCE_NAME : searx@fv-az178-536
SERVICE_USER : searx SERVICE_USER : searx
SEARX_INTERNAL_HTTP : http://127.0.0.1:8888 SEARX_INTERNAL_HTTP : http://127.0.0.1:8888
</pre></div> </pre></div>