Selfhost wiki (personal)

submitted by Shimitar edited

wiki.gardiol.org/

I have finally got my selfhost wiki up to a satisfying shape. Its here: https://wiki.gardiol.org

Take a look i hope it can help somebody.

I am open to any suggestions about it.

Note: the most original part is the one about multi-homed routing and failbacks and advanced routing.

Log in to comment

27 Comments

N0x0n , edited

Thanks for sharing, very cool stuff in there and great job ! Bookmarked !

While reading through your reverse proxy concept post, I think this statement is wrong:

As a sub-domain: - Cons: require additional certificates for HTTPS/SSL for each sub-domain

There are actually wildcard SAN certificates where you can access all your subdomains with a single certificate: https://*.mydomain.com

Or you can add all your subdomains in a single certificate.

Great work and thanks for sharing !

The Hobbyist

You are right and I would add that this is even a privacy and security measure, to make use of wildcard certificates. The reason is, those subdomains will be public because of websites like crt.sh which show all subdomains which have their dedicated certificate. Obfuscation can be helpful in not disclosing which are some services or naming schemes you use for yourself even if it is only meant to be for internal use.

vegetaaaaaaa

Obfuscation can be helpful in not disclosing which are some services or naming schemes

The "obfuscation" benefits of wildcard certificates are very limited (public DNS records can still easily be found with tools such as sublist3r), and they're definitely a security liability (get the private key of the cert stolen from a single server -> TLS potentially compromised on all your servers using the wildcard cert)

Shimitar [OP]

Yes, you are right, I have updated the information.

TheHolm

using wildcards is really bad security practice. and at age of ACME absolutely unnecessary.

The Hobbyist

Can you elaborate on why it is a bad security practice? It's the first time I'm reading about it and I'd like to read more about it. Thanks!

Shimitar [OP]

One of the risks associated with wildcard SSL certificates is the increased attack surface they introduce. If one subdomain becomes compromised, it opens the door for potential attackers to gain unauthorized access to all subdomains secured under the wildcard certificate. (first google link)

cron

While this argument is valid for a larger domain, it doesn't really matter for the small selfhoster.

Shimitar [OP]

Using let's encrypt certbot is so easy and automated that I never bothered for wildcards anyway, so.

N0x0n , edited

That's true. But it doesn't take away the possibility to use them in a selfhosted environnement.

Large enteprises like facebook and google still use them, but they have the backing to secure them safely.

Also, there is always the possibilty to add all subdomains in one certificate which takes away the wildcard subdomains.

Shimitar [OP]

Fully agree

Brunette6256

Is there a section about the wiki on the wiki? I was wondering what the wiki tool is.

wolre

It's dokuwiki.

Shimitar [OP]

As already stated, it's Dokuwiki. I tried a few and this was the best compromise between features and complexity for my needs.

CronyAkatsuki

I recently started something similar using bookstack as the software behind.

Still severely lacking in content but am willing for anyone who has time and something interesting to write in it as long it's connected to tech, preferably linuc and open source software.

Here is the link and if anyone want's to contribhte I'm more than willing to accept a couple editor to grow the content on it.

https://wiki.cronyakatsuki.xyz

Shimitar [OP] , edited

Now the big question is: are you an Arch or a Gentoo lover? Just joking.

Good job! Keep it up

CronyAkatsuki , edited

At one point was arch lover, then I became a gentoo lover.

Now I'm on nixos because gentoo didn't have a good retroarch package.

schmorp

Thanks a lot for sharing this. I'll keep it bookmarked for later reference, looks very cool!

owen

Quite useful... Thanks for sharing

psy32nd

Good work. Added to favorites.

Fisch

Might be worth adding a section for web UIs that make managing certain things easier. For example, Cockpit or Nginx Proxy Manager.

Shimitar [OP] , edited

I think NPM is useless (in my use-case...) and can get things more messy, but I plan to check on cockpit later on indeed.

NPM isn't bad in itself, but NGINX configuration is basically static and IMHO don't require a dedicated GUI.

Toaster

What lead you to believe NPM is useless/messy?

Shimitar [OP]

Yeah, i kind of wrote badly. I mean NGINX configuration is simple enough and static enough not to need a dedicated service for my use case. I don't feel the need to mess with NPM. I have a neat folder structure under nginx config so that adding one service is pretty clean and simple and editing one too.