[nominatim-web] Set Host header to internal hostname though
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nominatim-web] Set Host header to internal hostname though
- Date: Thu, 21 May 2020 18:01:47 +0000 (UTC)
commit b4775478967498b2a2c97a378b55d50aa57c3ffc
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Thu May 21 20:01:31 2020 +0200
Set Host header to internal hostname though
nginx.conf | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/nginx.conf b/nginx.conf
index c5201b1..e247262 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -36,6 +36,7 @@ server {
proxy_cache_lock on;
proxy_pass http://nominatim/search;
+ proxy_set_header Host "nominatim-int.gnome.org";
add_header X-Cache-Status $upstream_cache_status;
}
@@ -46,6 +47,7 @@ server {
proxy_cache_lock on;
proxy_pass http://nominatim/reverse;
+ proxy_set_header Host "nominatim-int.gnome.org";
add_header X-Cache-Status $upstream_cache_status;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]