commit afd2ff1fd346d4a87f74a89565fe97187bc32892 from: Flan Hacker date: Sun Feb 15 15:32:09 2026 UTC Show complete configuration for main example commit - f7ab3328c6293a49bd95e6da6e6b6796c197b808 commit + afd2ff1fd346d4a87f74a89565fe97187bc32892 blob - 9046ed8da0aa57ed4aa4e883347d2e0d287714dd blob + 754d158563c07fd93fbed2e573b2e328d623e445 --- index.html +++ index.html @@ -14,29 +14,51 @@ gotwebd(8) from a repository hosted in the Game of Trees Hub. - You can configure one (or more) for your account by including the - following snippet under the web server directive in your + It is configured with the following minimal gotsys.conf(5):

-    repositories url path "/repos"
-    website "/" {
-      repository "www"
+    user flan_hacker {
+      authorized key ssh-ed25519 <base64-encoded key> 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
+      }
+    }
     

- This will serve web site content from the www - repository and let you browse the website at your - user/organization's main domain, e.g., - demo.gothub.org. - Don't worry, your repositories will still be browsable under - the /repos url path, i.e., + This configuration serves website content from the www repository + and allows you to browse the website at demo.gothub.org. It + is conveniently managed by committing changes to the repository. +

+

+ Since the website makes use of the root domain, we set the repositories + url path to /repos, allowing you to still browse repositories at demo.gothub.org/repos.

- Once configured, you can conveniently manage the website by - committing changes to the www repository. For - additional configuration options, see + Note that we disable authentication, 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. +

+

+ Want a different setup? See the examples below to learn more! For + additional documentation, see gotsys.conf(5).