mirror of
https://github.com/searx/searx
synced 2024-12-12 08:46:26 +01:00
Use $host in nginx morty.conf template
This commit is contained in:
parent
6b59800dc6
commit
8736f5bd70
@ -3,7 +3,7 @@
|
|||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user