[nominatim-web] Switch upstream to internal hostname
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nominatim-web] Switch upstream to internal hostname
- Date: Thu, 21 May 2020 17:27:11 +0000 (UTC)
commit 32f0febbfa87884ab5cfb994279b9c1b86ede757
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Thu May 21 19:26:56 2020 +0200
Switch upstream to internal hostname
nginx.conf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/nginx.conf b/nginx.conf
index b494da3..462b0a5 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -3,7 +3,7 @@ log_format cache '$remote_addr - $remote_user [$time_local] "$request" '
'"$http_user_agent" "$http_x_forwarded_for" "$upstream_cache_status"';
upstream nominatim {
- server proxy01.gnome.org:443;
+ server nominatim-int.gnome.org:80;
}
proxy_cache_path /var/cache/nginx/nominatim keys_zone=nominatim:100m
@@ -35,7 +35,7 @@ server {
proxy_cache_valid 200 30d;
proxy_cache_lock on;
- proxy_pass https://nominatim/search;
+ proxy_pass http://nominatim/search;
proxy_set_header Host "nominatim.gnome.org";
add_header X-Cache-Status $upstream_cache_status;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]