aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/robots.txt
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/robots.txt')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/robots.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/robots.txt b/packages/meshbay-hub/src/meshbay_hub/static/robots.txt
new file mode 100644
index 0000000..a2ef43d
--- /dev/null
+++ b/packages/meshbay-hub/src/meshbay_hub/static/robots.txt
@@ -0,0 +1,9 @@
+# Served by the hub at the root of its origin, meshbay.org's included (the
+# Caddyfile sends every path the public site does not name to the hub).
+#
+# The sign-in page at /app may be indexed; nothing behind it can be, since it
+# is a signed-in view, and /v1/ is the API. /a/ stays open on purpose: a
+# crawler that renders /app needs the scripts and the stylesheet.
+User-agent: *
+Disallow: /app/
+Disallow: /v1/