ssl_certificate /etc/ssl/certs/tile.openstreetmap.org.pem;
ssl_certificate_key /etc/ssl/private/tile.openstreetmap.org.key;
ssl_certificate /etc/ssl/certs/tile.openstreetmap.org.pem;
ssl_certificate_key /etc/ssl/private/tile.openstreetmap.org.key;
proxy_cache_valid 200 1d;
proxy_cache_valid 404 15m;
# Serve stale cache on errors or if updating
proxy_cache_valid 200 1d;
proxy_cache_valid 404 15m;
# Serve stale cache on errors or if updating
# If in cache as stale, serve stale and update in background
proxy_cache_background_update on;
# If in cache as stale, serve stale and update in background
proxy_cache_background_update on;