diff options
author | Dominique Martinet @ jormungand <asmadeus@codewreck.org> | 2020-05-09 13:23:08 +0200 |
---|---|---|
committer | Dominique Martinet @ jormungand <asmadeus@codewreck.org> | 2020-05-09 13:23:08 +0200 |
commit | 3f84829d2585c752220df44c796117cf3ea3bcee (patch) | |
tree | f621d2bf1f22a1d11714d67a4da24356f2807e07 /machines/jormungand | |
parent | 1d8bc352395d183c2a04932fdbd8339b9afb19e1 (diff) |
jormungand: add riot.codewreck.org
Diffstat (limited to 'machines/jormungand')
-rw-r--r-- | machines/jormungand/containers.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/machines/jormungand/containers.nix b/machines/jormungand/containers.nix index 39d0791..29f201f 100644 --- a/machines/jormungand/containers.nix +++ b/machines/jormungand/containers.nix @@ -33,6 +33,7 @@ let targetConfig = { recommendedOptimisation = true; recommendedGzipSettings = true; recommendedProxySettings = true; + virtualHosts."jormungand.codewreck.org" = { forceSSL = true; enableACME = true; @@ -55,6 +56,19 @@ let targetConfig = { proxyPass = "http://[::1]:8008"; }; }; + + virtualHosts."riot.codewreck.org" = { + forceSSL = true; + enableACME = true; + root = pkgs.riot-web.override { + conf = { + default_server_config."m.homeserver" = { + "base_url" = "https://matrix.codewreck.org"; + "server_name" = "codewreck.org"; + }; + }; + }; + }; }; environment.etc."nginx/mpd.htpasswd".text = '' mpd:$6$jFVDaikg7ApzyPSe$ALjy6GmXV6XnKBuAbzRywqnUD/1ZNl50hLUOFIZ2dZuHVCLIzKr6WTl8x4KnCjOzDgIoS0udv7XPbDB6uyKXg/ |