[nominatim-web] Restore X-Cache-Status
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nominatim-web] Restore X-Cache-Status
- Date: Wed, 27 May 2020 09:41:56 +0000 (UTC)
commit 2d45c8ef3f8cf5d02a0d8a9136bd92bc5e0a2f05
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Wed May 27 11:41:43 2020 +0200
Restore X-Cache-Status
nginx.conf | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/nginx.conf b/nginx.conf
index 9689a11..2c5ca03 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -68,6 +68,7 @@ http {
proxy_pass http://nominatim/search;
proxy_set_header Host "nominatim-int.gnome.org";
+ add_header X-Cache-Status $srcache_fetch_status;
}
location = /reverse {
@@ -94,6 +95,7 @@ http {
proxy_pass http://nominatim/reverse;
proxy_set_header Host "nominatim-int.gnome.org";
+ add_header X-Cache-Status $srcache_fetch_status;
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]