This cookbook configures the various components of the planet service - used
for distributing OpenStreetMap data at
-[planet.openstreetmap.org](http://planet.openstreetmap.org)
+[planet.openstreetmap.org](https://planet.openstreetmap.org)
It includes the following recipes:
* default: configures the website for serving the various planet files
remote_file "#{directory}/planet/planet.pbf" do
action :create_if_missing
- source "http://planet.openstreetmap.org/pbf/planet-latest.osm.pbf"
+ source "https://planet.openstreetmap.org/pbf/planet-latest.osm.pbf"
owner "taginfo"
group "taginfo"
mode 0o644
# DO NOT EDIT - This file is being maintained by Chef
-baseUrl=http://planet.openstreetmap.org/replication/hour
+baseUrl=https://planet.openstreetmap.org/replication/hour
maxInterval=0
RewriteRule ^/(-?\d+)/(-?\d+)/(-?\d+)\.png/dirty/?$ /default/$1/$2/$3.png/dirty [PT,T=text/plain,L]
# Historical Files redirect
- RedirectPermanent /processed_p.tar.bz2 http://planet.openstreetmap.org/historical-shapefiles/processed_p.tar.bz2
- RedirectPermanent /shoreline_300.tar.bz2 http://planet.openstreetmap.org/historical-shapefiles/shoreline_300.tar.bz2
- RedirectPermanent /world_boundaries-spherical.tgz http://planet.openstreetmap.org/historical-shapefiles/world_boundaries-spherical.tgz
+ RedirectPermanent /processed_p.tar.bz2 https://planet.openstreetmap.org/historical-shapefiles/processed_p.tar.bz2
+ RedirectPermanent /shoreline_300.tar.bz2 https://planet.openstreetmap.org/historical-shapefiles/shoreline_300.tar.bz2
+ RedirectPermanent /world_boundaries-spherical.tgz https://planet.openstreetmap.org/historical-shapefiles/world_boundaries-spherical.tgz
# Redirect ACME certificate challenges
RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
# DO NOT EDIT - This file is being maintained by Chef
# The URL of the directory containing change files.
-baseUrl=http://planet.openstreetmap.org/replication/minute
+baseUrl=https://planet.openstreetmap.org/replication/minute
# Defines the maximum time interval in seconds to download in a single invocation.
# Setting to 0 disables this feature.
:tile => {
:data => {
:world_boundaries => {
- :url => "http://planet.openstreetmap.org/historical-shapefiles/world_boundaries-spherical.tgz"
+ :url => "https://planet.openstreetmap.org/historical-shapefiles/world_boundaries-spherical.tgz"
},
:simplified_land_polygons => {
:url => "http://data.openstreetmapdata.com/simplified-land-polygons-complete-3857.zip",