hosts/remilia: bring back the git subdomain atleast
Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
		@@ -32,6 +32,10 @@
 | 
			
		||||
      externalInterface = "ens3";
 | 
			
		||||
      internalInterfaces = [ "wg0" ];
 | 
			
		||||
      forwardPorts = [
 | 
			
		||||
        {
 | 
			
		||||
          destination = "${marisa}:22001";
 | 
			
		||||
          sourcePort = 22001;
 | 
			
		||||
        }
 | 
			
		||||
        {
 | 
			
		||||
          destination = "${satori}:6600";
 | 
			
		||||
          sourcePort = 6600;
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,7 @@ in
 | 
			
		||||
    openssh = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      permitRootLogin = "yes";
 | 
			
		||||
      ports = [ 22001 22002 ];
 | 
			
		||||
      ports = [ 22 22002 ];
 | 
			
		||||
    };
 | 
			
		||||
    znc = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
@@ -52,10 +52,10 @@ in
 | 
			
		||||
            };
 | 
			
		||||
            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"; };
 | 
			
		||||
          # "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}" = {
 | 
			
		||||
            addSSL = true;
 | 
			
		||||
@@ -70,17 +70,18 @@ in
 | 
			
		||||
            locations."= /".return = "301 /radio";
 | 
			
		||||
            };*/
 | 
			
		||||
 | 
			
		||||
          /*  "git.${domain}" = genericHttpRProxy {
 | 
			
		||||
          "git.${domain}" = genericHttpRProxy {
 | 
			
		||||
            addr = "http://${marisa}:5001";
 | 
			
		||||
            conf = "client_max_body_size 64M;";
 | 
			
		||||
            };
 | 
			
		||||
            "nomad.${domain}" = genericHttpRProxy {
 | 
			
		||||
          };
 | 
			
		||||
          /*"nomad.${domain}" = genericHttpRProxy {
 | 
			
		||||
            addr = "http://${marisa}:4646";
 | 
			
		||||
            conf = ''
 | 
			
		||||
            proxy_buffering off;
 | 
			
		||||
            proxy_read_timeout 310s;
 | 
			
		||||
            '';
 | 
			
		||||
            };*/
 | 
			
		||||
            };
 | 
			
		||||
          */
 | 
			
		||||
        };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user