hosts/remilia: bring back the git subdomain atleast

Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
2023-07-26 22:40:30 +05:30
parent 4682d7814b
commit e06bc88784
2 changed files with 12 additions and 7 deletions

View File

@@ -32,6 +32,10 @@
externalInterface = "ens3"; externalInterface = "ens3";
internalInterfaces = [ "wg0" ]; internalInterfaces = [ "wg0" ];
forwardPorts = [ forwardPorts = [
{
destination = "${marisa}:22001";
sourcePort = 22001;
}
{ {
destination = "${satori}:6600"; destination = "${satori}:6600";
sourcePort = 6600; sourcePort = 6600;

View File

@@ -8,7 +8,7 @@ in
openssh = { openssh = {
enable = true; enable = true;
permitRootLogin = "yes"; permitRootLogin = "yes";
ports = [ 22001 22002 ]; ports = [ 22 22002 ];
}; };
znc = { znc = {
enable = true; enable = true;
@@ -52,10 +52,10 @@ in
}; };
serverAliases = [ "www.${domain}" ]; serverAliases = [ "www.${domain}" ];
}; };
"znc.weirdnatto.in" = genericHttpRProxy { addr = "https://${marisa}:9898"; }; "znc.weirdnatto.in" = genericHttpRProxy { addr = "https://${remilia}:9898"; };
# "vault.${domain}" = genericHttpRProxy { addr = "https://${marisa}:8800"; }; # "vault.${domain}" = genericHttpRProxy { addr = "https://${marisa}:8800"; };
# "consul.${domain}" = genericHttpRProxy { addr = "http://${marisa}:8500"; }; # "consul.${domain}" = genericHttpRProxy { addr = "http://${marisa}:8500"; };
"f.${domain}" = genericHttpRProxy { addr = "http://${marisa}:8888"; }; "f.${domain}" = genericHttpRProxy { addr = "http://${marisa}:8000"; };
"radio.${domain}" = genericHttpRProxy { addr = "http://${satori}:8001"; }; "radio.${domain}" = genericHttpRProxy { addr = "http://${satori}:8001"; };
/* "radio.${domain}" = { /* "radio.${domain}" = {
addSSL = true; addSSL = true;
@@ -70,17 +70,18 @@ in
locations."= /".return = "301 /radio"; locations."= /".return = "301 /radio";
};*/ };*/
/* "git.${domain}" = genericHttpRProxy { "git.${domain}" = genericHttpRProxy {
addr = "http://${marisa}:5001"; addr = "http://${marisa}:5001";
conf = "client_max_body_size 64M;"; conf = "client_max_body_size 64M;";
}; };
"nomad.${domain}" = genericHttpRProxy { /*"nomad.${domain}" = genericHttpRProxy {
addr = "http://${marisa}:4646"; addr = "http://${marisa}:4646";
conf = '' conf = ''
proxy_buffering off; proxy_buffering off;
proxy_read_timeout 310s; proxy_read_timeout 310s;
''; '';
};*/ };
*/
}; };
}; };
}; };