diff options
author | Alex Balgavy <alex@balgavy.eu> | 2021-03-04 11:16:27 +0100 |
---|---|---|
committer | Alex Balgavy <alex@balgavy.eu> | 2021-03-04 11:16:27 +0100 |
commit | 8736f5bd70dea715717c641df25870c40d4a42b9 (patch) | |
tree | b886c3c360d80290943230c2f93d5b38b6b23fb1 /utils | |
parent | 6b59800dc65fed855ecfdeb9fe40a37807ecfeb9 (diff) | |
download | searxng-8736f5bd70dea715717c641df25870c40d4a42b9.tar.gz searxng-8736f5bd70dea715717c641df25870c40d4a42b9.zip |
Use $host in nginx morty.conf template
Diffstat (limited to 'utils')
-rw-r--r-- | utils/templates/etc/nginx/default.apps-available/morty.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/templates/etc/nginx/default.apps-available/morty.conf b/utils/templates/etc/nginx/default.apps-available/morty.conf index e7ffa27e2..51f083985 100644 --- a/utils/templates/etc/nginx/default.apps-available/morty.conf +++ b/utils/templates/etc/nginx/default.apps-available/morty.conf @@ -3,7 +3,7 @@ location /morty { 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 X-Real-IP \$remote_addr; proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; |