Commit graph

26 commits

Author SHA1 Message Date
stuebinm 5e7c46a4e9
wildcard dns with ACME
this is just me procrastinating …

(not tested, not deployed – we don't actually own i4f.de)
2021-10-07 18:04:25 +02:00
stuebinm 9eed435ea3
shortcutdomains: generate an index page
misusing nix as an html templating language, yay!

We could (and maybe should) also use something more reasonable instead,
e.g. jekyll or hakyll, but for a simple listing nix turns out to be
quite enough.

The page doesn't look all too well for now; I haven't set any css, or
even added some <div>-tags for basic styling.
2021-10-07 17:50:54 +02:00
stuebinm e07d23e2ee
shortcutdomains: more shortcuts
tbh, I'm not entirely sure about these — if we have single-letter
domains only, we'll run into trouble pretty quickly (e.g. with
mattermost/mumble). I've kept it limited to only *.infra4future.de,
where that is less of a problem (for now).
2021-10-07 17:50:54 +02:00
stuebinm 03ce987c90
shortcutdomains: 301 redirect -> 302 redirect
To prevent interference from indefinite caching of 301 redirects, this
now uses 302 redirects instead.
2021-10-07 17:50:54 +02:00
stuebinm 98c3c807c4
shortcut domains for services
as per Zauberberg's idea in mattermost last night [1], this adds an
extra domain, which just exists to make links to the various services
shorter, using a nix to keep the whole thing easily changable.

In particular, the "shortdomain" binding should be set to some domain we
actually own before anyone deploys this (I've set it to "i4f.de" as a
dummy value for now).

Potential caveats:
 - this uses ACME to get a certificate for each of the redirect domains,
   which may run into rate limits if we have too many of them.
 - there's nothing on the shortdomain itself. I suggest we could either
   use it as a general linkshortener, or generate a list of available
   domain shortcuts into html from nix

[1] https://mattermost.infra4future.de/hacc/pl/xks5naezcbn8myh79bq3dehmso
2021-10-07 17:50:50 +02:00
octycs f125de8342 services/nginx-pages: readd help.studentsforfuture.info 2021-09-28 21:28:54 +02:00
stuebinm 56cbb7601b services/vaultwarden: init vaultwarden 2021-09-28 11:13:25 +00:00
schweby 35a563185d parsons/lantifa: update intersection plugin 2021-09-18 21:36:39 +02:00
schweby b9eb988aa0 parsons/murmur: fix acme
credits for ${pkgs.acl} go to stuebinm
2021-08-30 15:12:30 +02:00
schweby 95a0e9f04a parsons: init lantifa wiki 2021-08-23 19:32:02 +00:00
hexchen 41acbdd3e0 parsons: deploy unifi controller 2021-08-23 19:32:02 +00:00
hexchen d367269e87 thelounge: foo 2021-08-23 19:32:02 +00:00
hexchen 7dbc22929b parsons/nginx-pages: add muc.hacc.earth hacc 2021-08-23 19:32:02 +00:00
hexchen 35cd963f8c services/gitlab-runner: init on parsons
also disable ci for hainich
2021-08-23 19:32:02 +00:00
hexchen 6121acabd7 maintenance: update sources, fix mattermost 2021-08-23 19:32:02 +00:00
hexchen 69e49a0020 services/gitlab: init ssh 2021-08-23 19:32:02 +00:00
hexchen 373926e33b services/gitlab: init on parsons 2021-08-23 19:32:02 +00:00
schweby 7881b444ba parsons: init syncthing 2021-08-23 19:32:02 +00:00
hexchen cdeb52f808 services/mail: migrate to parsons 2021-08-23 19:32:02 +00:00
hexchen a5063ae960 parsons: small fixes 2021-08-23 19:32:02 +00:00
schweby 632bf21200 parsons: fix hegedocs 2021-08-23 19:32:02 +00:00
schweby 76c9b07d56 parsons: init hegedocs 2021-08-23 19:32:02 +00:00
hexchen 172d0869b3 services/murmur: migrate to parsons 2021-08-23 19:32:02 +00:00
hexchen 4b11dbf1d4 services/thelounge: move to parsons 2021-08-23 19:32:02 +00:00
schweby b23582a52f services/mattermost: init on parsons 2021-08-23 19:32:02 +00:00
hexchen da7beff2fe services/nextcloud: init on parsons 2021-08-07 12:05:26 +00:00