Commit Diff


commit - f7ab3328c6293a49bd95e6da6e6b6796c197b808
commit + afd2ff1fd346d4a87f74a89565fe97187bc32892
blob - 9046ed8da0aa57ed4aa4e883347d2e0d287714dd
blob + 754d158563c07fd93fbed2e573b2e328d623e445
--- index.html
+++ index.html
@@ -14,29 +14,51 @@
     <a href="https://gameoftrees.org/gotwebd.8.html">gotwebd(8)</a>
     from a repository hosted in the
     <a href="https://gothub.org">Game of Trees Hub</a>.
-    You can configure one (or more) for your account by including the
-    following snippet under the <b>web server</b> directive in your
+    It is configured with the following minimal
     <a href="https://gameoftrees.org/gotsys.conf.5.html">gotsys.conf(5)</a>:
     </p>
     <pre>
-    repositories url path "/repos"
-    website "/" {
-      repository "www"
+    user flan_hacker {
+      authorized key ssh-ed25519 &lt;base64-encoded key&gt; flan_hacker@gothub.org
     }
+    repository gotsys {
+      permit rw flan_hacker
+    }
+    repository www {
+      permit rw flan_hacker
+      permit ro anonymous
+    }
+    web server demo.gothub.org {
+      site owner "Game of Trees Hub"
+      disable authentication
+      repositories url path "/repos"
+      hide repositories on
+      repository www {
+        hide repository off
+      }
+      website "/" {
+        repository www
+      }
+    }
     </pre>
     <p>
-    This will serve web site content from the <b>www</b>
-    repository and let you browse the website at your
-    user/organization's main domain, e.g.,
-    <a href="/">demo.gothub.org</a>.
-    Don't worry, your repositories will still be browsable under
-    the <b>/repos</b> url path, i.e.,
+    This configuration serves website content from the <b>www</b> repository
+    and allows you to browse the website at <a href="/">demo.gothub.org</a>. It
+    is conveniently managed by committing changes to the repository.
+    </p>
+    <p>
+    Since the website makes use of the root domain, we set the <b>repositories
+    url path</b> to <b>/repos</b>, allowing you to still browse repositories at
     <a href="/repos">demo.gothub.org/repos</a>.
     </p>
     <p>
-    Once configured, you can conveniently manage the website by
-    committing changes to the <b>www</b> repository. For
-    additional configuration options, see
+    Note that we <b>disable authentication</b>, as web servers on the Game of
+    Trees Hub are configured with authentication enabled by default. Without
+    this, you would be required to log in to view the website.
+    </p>
+    <p>
+    Want a different setup? See the examples below to learn more! For
+    additional documentation, see
     <a href="https://gameoftrees.org/gotsys.conf.5.html">gotsys.conf(5)</a>.
     </p>
   </body>