I have a local server. I tried to cache/balance Openstreetmap very simple as you see in bellow:
Good to say that I can use upstream for any internal servers correctly like this :
But I have problem with openstreetmap servers. Any hint is appreciable. Error is :
Details: cache-fra19124-FRA asked 12 Apr '21, 10:26 Ehsan_1362 |
You are sending a host header value of "osm" upstream. That won't work with fastly. So try adding a
to the proxy location directive. Please also note the tile usage policy that you'll have to follow: https://operations.osmfoundation.org/policies/tiles/ answered 12 Apr '21, 11:18 Spiekerooger 1
Thanks for replying. Installing a fresh Nginx, adding
and finally changing this :
to this:
saved me.
(12 Apr '21, 12:34)
Ehsan_1362
|