feat(tanzanite): nginx config for matrix

This commit is contained in:
stitchy 2024-12-21 22:24:51 -08:00
parent 97886fa0f0
commit 4818be44d3
Signed by: stitchy
SSH key fingerprint: SHA256:f7Wxv5r7Ooi4z3GxqMBx50LlPRtY/kUK/Sw8K02PYys

View file

@ -44,6 +44,13 @@ in {
proxyPass = "http://127.0.0.1:3333"; proxyPass = "http://127.0.0.1:3333";
}; };
}; };
"matrix.stitchy.moe" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:9008";
};
};
}; };
}; };
@ -51,6 +58,7 @@ in {
allowedTCPPorts = [ 22 80 222 443 ]; allowedTCPPorts = [ 22 80 222 443 ];
}; };
# Boot Config
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];