diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2016-04-21 14:42:32 +0200 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2016-04-21 14:42:32 +0200 |
| commit | 3e351e3b9f819d5383fd1ebafd906fdbe0c3d086 (patch) | |
| tree | 9dd3b451b00ff48590efdd725640d4763647c990 /docs/dev/install/installation.rst | |
| parent | 20b1f1ba8b5dbc416308e39f1e2025e17e19b55d (diff) | |
| parent | b40d7a2b36014f8db825c06350ed84db7eed67d5 (diff) | |
Merge pull request #544 from kvch/gh-pages
install docs update && dev tips
Diffstat (limited to 'docs/dev/install/installation.rst')
| -rw-r--r-- | docs/dev/install/installation.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/dev/install/installation.rst b/docs/dev/install/installation.rst index e15ff8b25..cbbd25f57 100644 --- a/docs/dev/install/installation.rst +++ b/docs/dev/install/installation.rst @@ -179,6 +179,24 @@ Add this configuration in the server config file uwsgi_pass unix:/run/uwsgi/app/searx/socket; } + +OR + +using reverse proxy +(Please, note that reverse proxy advised to be used in case of single-user or low-traffic instances.) + +.. code:: nginx + + location /searx { + proxy_pass http://127.0.0.1:8888; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Scheme $scheme; + proxy_set_header X-Script-Name /searx; + proxy_buffering off; + } + + Enable base\_url in searx/settings.yml :: |