public-access-proxy: remove unused config

This commit is contained in:
Astro 2021-09-09 16:44:23 +02:00
parent 9d19102721
commit d72ae64d7d
1 changed files with 5 additions and 67 deletions

View File

@ -1,14 +1,7 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, ... }:
{
imports = [
# ../../../lib/lxc-container.nix
# ../../../lib/shared.nix
# ../../../lib/admins.nix
./proxy.nix
];
@ -25,82 +18,27 @@
my.services.proxy = {
enable = true;
proxyHosts = [
# {
# hostNames = [ "cloud.bombenverleih.de" "unifi.arkom.men" ];
# proxyTo = {
# host = "172.22.99.192";
# httpPort = 80;
# httpsPort = 443;
# };
# }
{
hostNames = [ "grafana.hq.c3d2.de" ];
proxyTo = {
host = "grafana.serv.zentralwerk.dn42";
httpPort = 80;
httpsPort = 443;
};
proxyTo.host = "grafana.serv.zentralwerk.dn42";
}
{
hostNames = [ "ticker.c3d2.de" ];
proxyTo = {
host = "ticker.serv.zentralwerk.dn42";
httpPort = 80;
httpsPort = 443;
};
proxyTo.host = "ticker.serv.zentralwerk.dn42";
}
{
hostNames = [ "gitea.c3d2.de" ];
proxyTo = {
host = "172.20.73.53";
httpPort = 80;
httpsPort = 443;
};
proxyTo.host = "172.20.73.53";
}
# {
# hostNames = [ "kibana.hq.c3d2.de" "kibana-es.hq.c3d2.de" ];
# proxyTo = {
# host = "kibana.serv.zentralwerk.dn42";
# httpPort = 80;
# httpsPort = 443;
# };
# }
# {
# hostNames = [ "robo1.hq.c3d2.de" ];
# proxyTo = {
# host = "172.20.79.62";
# httpPort = 80;
# };
# }
# {
# hostNames = [ "robots.datenspuren.de" ];
# proxyTo = {
# host = "172.22.99.170";
# httpPort = 80;
# httpsPort = 443;
# };
# }
# {
# hostNames = [ "error.hq.c3d2.de" ];
# proxyTo = {
# host = "172.20.73.47";
# httpPort = 80;
# httpsPort = 443;
# };
# }
{
hostNames = [ "vps1.nixvita.de" "vps1.codetu.be" "nixvita.de" ];
proxyTo = {
host = "172.20.73.51";
httpPort = 80;
httpsPort = 443;
};
proxyTo.host = "172.20.73.51";
}
];
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
system.stateVersion = "18.09"; # Did you read the comment?
system.stateVersion = "18.09";
}