1
0

hosts/schule: remove host

This commit is contained in:
2023-11-07 19:27:01 +01:00
parent 9f77f2594c
commit 5ad39391cf
7 changed files with 1 additions and 211 deletions

View File

@@ -21,32 +21,6 @@
networking.defaultGateway6 = { address = "fe80::1"; interface = "ens3"; };
networking.nameservers = [ "46.38.255.230" "46.38.252.230" ];
services.nginx.enable = true;
services.nginx.virtualHosts.default = lib.mkForce {};
services.nginx.virtualHosts."*.schule.clerie.de" = {
locations."/" = {
proxyPass = "http://schule.net.clerie.de";
};
};
services.sniproxy = {
enable = true;
config = ''
error_log {
filename /var/log/sniproxy/error.log
}
access_log {
filename /var/log/sniproxy/access.log
}
listen 443 {
proto tls
}
table {
^.*\.schule\.clerie\.de$ [2001:638:904:ffcb::d]
}
'';
};
clerie.nginx-port-forward = {
enable = true;
tcpPorts."2022" = {
@@ -55,13 +29,6 @@
};
};
services.chisel-server = {
enable = false;
host = "[::1]";
port = 3765;
authfile = "/var/src/secrets/chisel/users.json";
};
services.snowflake-proxy.enable = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];