commit afd2ff1fd346d4a87f74a89565fe97187bc32892
from: Flan Hacker
- 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).