Possible fix for tile server issue
@@ -80,9 +80,7 @@ http {
proxy_temp_path /data/osmcache/tmp;
upstream openstreetmap_backend {
- server a.tile.openstreetmap.org;
- server b.tile.openstreetmap.org;
- server c.tile.openstreetmap.org;
+ server tile.openstreetmap.org;
}
# ==============================================
@@ -169,7 +167,7 @@ http {
location /tile/ {
proxy_pass https://openstreetmap_backend/;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X_FORWARDED_PROTO http;
+ proxy_set_header X_FORWARDED_PROTO https;
proxy_set_header Host $http_host;
proxy_cache openstreetmap-tilecache;
proxy_cache_valid 200 302 30d;
