diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-03-04 11:27:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-04 11:27:03 +0100 |
| commit | 1d10ae175c0929d383d268f56bfadb304365ccf2 (patch) | |
| tree | 7cee11f8cae196a2764d319f0736cba1877abb4e /docs/admin/filtron.rst | |
| parent | 6ba37777f732d0538be342511e68494d75e3627b (diff) | |
| parent | 8736f5bd70dea715717c641df25870c40d4a42b9 (diff) | |
Merge pull request #2618 from thezeroalpha/master
Fix security vulnerabilities in provided nginx configuration
Diffstat (limited to 'docs/admin/filtron.rst')
| -rw-r--r-- | docs/admin/filtron.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/admin/filtron.rst b/docs/admin/filtron.rst index 503a4d51d..41c4a31d6 100644 --- a/docs/admin/filtron.rst +++ b/docs/admin/filtron.rst @@ -173,7 +173,7 @@ Use it along with ``nginx`` with the following example configuration. location /searx { 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 X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |