tvl-depot/ops/modules/www
Vincent Ambo ac6717fe3c fix(ops/modules/www): Make self-redirect to config a generic module
As suggested by sterni, this makes the self-redirect of a machine to
its configuration a generic module working by convention.

In the process of moving this two small fixes have been applied:

* redirect is only applied if the URI is `/`, this is required for
  ACME to work
* addSSL = true is added, otherwise we have a certificate but no TLS
  listener

Change-Id: Icaef041ff681253a61e36926417bdb2844e3f93d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5313
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
2022-02-18 11:39:01 +00:00
..
atward.tvl.fyi.nix fix(ops/www): Fix typo in nginx configuration 2021-05-05 09:48:49 +00:00
auth.tvl.fyi.nix feat(whitby): Configure initial Keycloak setup 2021-12-25 21:11:40 +00:00
b.tvl.fyi.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
base.nix refactor(ops/modules): Move ACME base configuration into base.nix 2022-02-18 08:15:56 +00:00
cache.tvl.su.nix chore(cache.tvl.su): Raise cache priority to 50 2022-01-07 01:30:00 +00:00
cl.tvl.fyi.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
code.tvl.fyi.nix refactor(ops/modules): Rename git-serving -> josh 2022-02-16 23:03:06 +00:00
cs.tvl.fyi.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
deploys.tvl.fyi.nix refactor(whitby): Move restic path configuration into modules 2021-09-18 15:10:34 +00:00
images.tvl.fyi.nix feat(ops/www): Point images.tvl.* at Nixery 2021-08-13 10:57:53 +00:00
nixery.dev.nix feat(ops): Serve nixery.dev from whitby 2021-08-24 11:30:16 +00:00
self-redirect.nix fix(ops/modules/www): Make self-redirect to config a generic module 2022-02-18 11:39:01 +00:00
static.tvl.fyi.nix feat(whitby): serve static.tvl.{fyi|su} with max cache settings 2021-10-01 20:45:50 +00:00
status.tvl.su.nix feat(whitby): Enable Grafana at status.tvl.su 2021-04-12 22:01:05 +00:00
tazj.in.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
todo.tvl.fyi.nix refactor(ops): Split //ops/nixos into different locations 2021-04-11 22:18:22 +00:00
tvl.fyi.nix fix(www/tvl.fyi): Anchor /blog redirects at #blog 2022-01-29 22:37:55 +00:00
tvl.su.nix feat(whitby): Serve //corp/website on tvl.su 2021-10-01 15:24:35 +00:00
wigglydonke.rs.nix fix(wigglydonke.rs): Don't rebuild nginx config unnecessarily 2021-05-25 17:10:50 +00:00