club-1 / hosting

Hosting on CLUB1
https://club1.fr
6 stars 1 forks source link

Choose domains #64

Closed n-peugnet closed 2 years ago

n-peugnet commented 3 years ago

Webdav server

Webdav client

User dirs

Webdav client and User dirs could be merged into one

n-peugnet commented 3 years ago

So, what has been chosen for now is:

But we are not sure this is the best solution as we are also trying to add https://github.com/club-1/hosting/issues/37.

Problems

  1. The tilde (~) character is not easy to type and spell
  2. It is not very clear that club1.fr/~nicolas/git/ to /home/nicolas/public/git/ (one must know that club1.fr/~nicolas/ maps to /home/nicolas/public/)

Solutions

  1. Remove the tilde, but this requires using a subdomain for User dirs (so back to selecting the domain)
  2. Use another subdomain for git, for instance git.club1.fr/<user>/ that would map to /home/<user>/git/ and do the same for static content, for instance static.club1.fr/<user>/ would map to /home/<user>/static/

also, by default userdirs are stored on public_html, maybe we should use something like public_git to make it clear that these folder are public and must have the correct permissions (read by Others)

vincent-peugnet commented 3 years ago

I was thinking of something like that:

   git.club1.fr    /home/<user>/public_git    git repos
  user.club1.fr    /home/<user>/public_html   quick web experiment
shared.club1.fr    /home/<user>/shared        symlinks created with WebDavDrive or manualy
webdav.club1.fr                               webdav API
  mail.club1.fr                               mail servers

But I'm confused about the idea of mixing or not shared (symlinks) and public_html.

That made me think of my dream of an encrypted folder unlocked "by LDAP connection", that is accessible from SSH and WebDav.

                   /home/<user>/vault         encrypted folder

I try to imagine a home space like this:

--|--mail
  |--vault
  |--public_git
  |--public_html
  |--shared
vincent-peugnet commented 2 years ago

After a phone call with @n-peugnet , and what we have learned from CLUB1's workshop, I think we can fix at least :

     git.club1.fr    /home/<user>/git      git repos
  public.club1.fr    /home/<user>/public   quick web experiment

(@n-peugnet , correct me if I'm wrong)

n-peugnet commented 2 years ago

Done