From 6a97495d8c50a4e64ba089feadbf1a222e7f063d Mon Sep 17 00:00:00 2001 From: Victor Date: Mon, 3 Oct 2022 15:17:09 +0200 Subject: [PATCH] deployed cinny --- nixos/hosts/olympus/nginx/configuration.nix | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/nixos/hosts/olympus/nginx/configuration.nix b/nixos/hosts/olympus/nginx/configuration.nix index 25a45d9..7bfc32c 100644 --- a/nixos/hosts/olympus/nginx/configuration.nix +++ b/nixos/hosts/olympus/nginx/configuration.nix @@ -58,7 +58,7 @@ in virtualHosts."grafana.0x76.dev" = proxy "http://victoriametrics.olympus:2342"; virtualHosts."outline.0x76.dev" = proxy "http://outline.olympus:3000"; virtualHosts."id.0x76.dev" = proxy "http://keycloak.olympus:80"; - + # Redshifts virtualHosts."andreea.redshifts.xyz" = proxy "http://zmeura.olympus:8008"; @@ -94,10 +94,22 @@ in }; }; }; + virtualHosts."cinny.chat.meowy.tech" = { + enableACME = true; + forceSSL = true; + + root = pkgs.cinny.override { + conf = { + defaultHomeserver = 0; + allowCustomHomeservers = false; + homeserverList = [ "chat.meowy.tech" ]; + }; + }; + }; virtualHosts."admin.chat.meowy.tech" = { - enableACME = true; - forceSSL = true; - root = pkgs.synapse-admin; + enableACME = true; + forceSSL = true; + root = pkgs.synapse-admin; }; virtualHosts."books.meowy.tech" = proxy "http://bookwyrm.olympus:8001";