hosts/remilia: remove most subdomains :(

Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
2023-07-26 18:03:20 +05:30
parent 78f440f69c
commit 4682d7814b
3 changed files with 19 additions and 22 deletions

View File

@@ -17,6 +17,7 @@
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = lib'.network.commonSSHKeys;
};
programs.zsh.enable = true;
system.stateVersion = "21.11";
}

View File

@@ -7,7 +7,7 @@
{
interfaces = {
ens3 = {
allowedTCPPorts = [ 80 81 443 444 993 465 143 25 22001 22002 9898 8999 99 5201 4444 ]
allowedTCPPorts = [ 80 81 443 444 993 465 143 25 22 22001 22002 4444 ]
++ (map (x: x.sourcePort) config.networking.nat.forwardPorts);
allowedUDPPorts = [ 17840 ];
};
@@ -32,10 +32,6 @@
externalInterface = "ens3";
internalInterfaces = [ "wg0" ];
forwardPorts = [
{
destination = "${marisa}:2002";
sourcePort = 22;
}
{
destination = "${satori}:6600";
sourcePort = 6600;

View File

@@ -53,11 +53,11 @@ in
serverAliases = [ "www.${domain}" ];
};
"znc.weirdnatto.in" = genericHttpRProxy { addr = "https://${marisa}:9898"; };
"vault.${domain}" = genericHttpRProxy { addr = "https://${marisa}:8800"; };
"consul.${domain}" = genericHttpRProxy { addr = "http://${marisa}:8500"; };
# "vault.${domain}" = genericHttpRProxy { addr = "https://${marisa}:8800"; };
# "consul.${domain}" = genericHttpRProxy { addr = "http://${marisa}:8500"; };
"f.${domain}" = genericHttpRProxy { addr = "http://${marisa}:8888"; };
# "radio.${domain}" = genericHttpRProxy { addr = "http://${satori}:8001"; };
"radio.${domain}" = {
"radio.${domain}" = genericHttpRProxy { addr = "http://${satori}:8001"; };
/* "radio.${domain}" = {
addSSL = true;
enableACME = true;
locations."/" = {
@@ -68,10 +68,10 @@ in
'';
};
locations."= /".return = "301 /radio";
};
};*/
"git.${domain}" = genericHttpRProxy {
addr = "http://${marisa}:5000";
/* "git.${domain}" = genericHttpRProxy {
addr = "http://${marisa}:5001";
conf = "client_max_body_size 64M;";
};
"nomad.${domain}" = genericHttpRProxy {
@@ -80,7 +80,7 @@ in
proxy_buffering off;
proxy_read_timeout 310s;
'';
};
};*/
};
};
};