Merge pull request #769 from kvch/gh-pages

fix nginx section of installation page
This commit is contained in:
Adam Tauber 2016-11-20 21:23:47 +01:00 committed by GitHub
commit 9a9ff7907b

View file

@ -3,20 +3,13 @@
Installation Installation
============ ============
Step by step installation for Debian/Ubuntu with virtualenv.
Source: https://about.okhin.fr/posts/Searx/ with some additions
How to: `Setup searx in a couple of hours with a free SSL
certificate <https://www.reddit.com/r/privacytoolsIO/comments/366kvn/how_to_setup_your_own_privacy_respecting_search/>`__
.. contents:: .. contents::
:depth: 3 :depth: 3
Basic installation Basic installation
------------------ ------------------
For Ubuntu, be sure to have enable universe repository. Step by step installation for Debian/Ubuntu with virtualenv. For Ubuntu, be sure to have enable universe repository.
Install packages: Install packages:
@ -166,7 +159,7 @@ from subdirectory URL (/searx)
"""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""
Add this configuration in the server config file Add this configuration in the server config file
/etc/nginx/sites-available/default: /etc/nginx/sites-enabled/default:
.. code:: nginx .. code:: nginx
@ -318,3 +311,11 @@ It's also possible to build searx from the embedded Dockerfile.
git clone https://github.com/asciimoo/searx.git git clone https://github.com/asciimoo/searx.git
cd searx cd searx
docker build -t whatever/searx . docker build -t whatever/searx .
References
==========
* https://about.okhin.fr/posts/Searx/ with some additions
* How to: `Setup searx in a couple of hours with a free SSL certificate <https://www.reddit.com/r/privacytoolsIO/comments/366kvn/how_to_setup_your_own_privacy_respecting_search/>`__