Alias matrix-backend from coded to clicks
As we previously used coded.codes, that's still floating around in a bunch of
places. It's better, in my opinion, to just alias it so that a typo doesn't mean
stuff breaks.
Change-Id: Id3145a02c3e2f1920442b4b67d7cdfa4cf18bac7
Signed-off-by: Skyler Grey <minion@clicks.codes>
Reviewed-on: https://git.clicks.codes/c/Clicks/NixFiles/+/23
Tested-by: Samuel Shuert <coded@clicks.codes>
Reviewed-by: Samuel Shuert <coded@clicks.codes>
diff --git a/modules/common/nginx-routes.nix b/modules/common/nginx-routes.nix
index 0658fe0..b5f2abc 100644
--- a/modules/common/nginx-routes.nix
+++ b/modules/common/nginx-routes.nix
@@ -73,7 +73,7 @@
(File ./nginx/clicks.codes/.well-known/matrix))
(Redirect "https://clicks.codes$request_uri")
]))
- (Host "matrix-backend.clicks.codes" (Compose [
+ (Hosts ["matrix-backend.clicks.codes" "matrix-backend.coded.codes"] (Compose [
(Path "/_synapse/admin/" (Status 403))
(ReverseProxy "127.0.0.1:4527")
]))