leonard: add www-feal-no. add www-kinealbrigtsen-no. configure outgoing firewall

This commit is contained in:
2025-10-18 22:25:05 +02:00
parent 49a3c0211e
commit 483f30229f
7 changed files with 172 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{ config, pkgs, lib, ... }:
{
services.nginx.virtualHosts."feal.no" = {
default = true;
serverAliases = [
"www.feal.no"
];
locations = {
# TODO: Reinstate actual website
"/".return = "302 https://git.feal.no/";
"^~ /.well-known/" = {
alias = (toString ./well-known) + "/";
};
"/cc/" = {
alias = "${pkgs.cyberchef}/share/cyberchef/";
index = "index.html";
};
"= /cc".return = "302 /cc/";
};
};
}

View File

@@ -0,0 +1,5 @@
{
"m.homeserver": {
"base_url": "https://matrix.feal.no:443"
}
}

View File

@@ -0,0 +1 @@
{"m.server": "matrix.feal.no:443"}