]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/index.html.erb
Tile: add node fqdn to index.html to help with debugging end user issues
[chef.git] / cookbooks / tile / templates / default / index.html.erb
diff --git a/cookbooks/tile/templates/default/index.html.erb b/cookbooks/tile/templates/default/index.html.erb
new file mode 100644 (file)
index 0000000..b4fba0d
--- /dev/null
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
+  "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<title>tile.openstreetmap.org</title>
+<!-- MANAGED VIA CHEF --!>
+<meta name="robots" content="noindex">
+<meta http-equiv="cache-control" content="no-cache">
+<meta http-equiv="pragma" content="no-cache">
+</head>
+<body>
+You've reached the OpenStreetMap.org tile server. (<%= node['fqdn'] %>)<br />
+<dl>
+<dt>If you are a user...</dt>
+<dd>You probably want <a href="http://www.openstreetmap.org/">OpenStreetMap</a> itself.</dd>
+<dt>If you are a developer...</dt>
+<dd>Please be aware of the <a href="http://wiki.openstreetmap.org/wiki/Tile_usage_policy">tile usage policy</a>.</dd>
+</dl>
+</body>
+</html>