]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/resources/layer.rb
imagery: fix nginx listen
[chef.git] / cookbooks / imagery / resources / layer.rb
index aee757e6e7a5cba8d05a8c654e2c61780a9cce82..b1e7cc9d11f1d7d19d1ad4e5237e73d7773958f3 100644 (file)
@@ -47,7 +47,7 @@ action :create do
     mode 0o644
     content YAML.dump(:name => layer,
                       :title => title || layer,
-                      :url => "http://{s}.#{site}/layer/#{layer}/{z}/{x}/{y}.png",
+                      :url => "//{s}.#{site}/layer/#{layer}/{z}/{x}/{y}.png",
                       :attribution => copyright,
                       :default => default_layer,
                       :maxZoom => max_zoom,