From afefe46b332a7e441acbae2f7ca923151fc08d3e Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 20 Aug 2023 19:42:57 +0530 Subject: [PATCH] setup frpc for matrix --- hosts/rico1/services/frpc.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/hosts/rico1/services/frpc.nix b/hosts/rico1/services/frpc.nix index d7798dc..f0ef1d6 100644 --- a/hosts/rico1/services/frpc.nix +++ b/hosts/rico1/services/frpc.nix @@ -29,5 +29,20 @@ in { type = tcp local_port = 22 remote_port = 6001 + + [http.matrix.adtya.xyz] + type = http + custom_domains = matrix.adtya.xyz + local_port = 80 + + [https.matrix.adtya.xyz] + type = https + custom_domains = matrix.adtya.xyz + local_port = 443 + + [https.matrix.adtya.xyz.8448] + type = tcp + local_port = 8448 + remote_port = 8448 ''; }