nixos: Add librespeed
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				CI / Check, build and cache Nix flake (push) Successful in 22m56s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	CI / Check, build and cache Nix flake (push) Successful in 22m56s
				
			This commit is contained in:
		@@ -145,6 +145,7 @@ in
 | 
			
		||||
 | 
			
		||||
            http IN A ${assignments.internal.ipv4.address}
 | 
			
		||||
            http IN AAAA ${allAssignments.middleman.internal.ipv6.address}
 | 
			
		||||
            librespeed IN CNAME http.${config.networking.domain}.
 | 
			
		||||
 | 
			
		||||
            valheim IN A ${assignments.internal.ipv4.address}
 | 
			
		||||
            valheim IN AAAA ${allAssignments.valheim-oci.internal.ipv6.address}
 | 
			
		||||
 
 | 
			
		||||
@@ -66,6 +66,7 @@ in
 | 
			
		||||
                  owner = "nginx";
 | 
			
		||||
                  group = "nginx";
 | 
			
		||||
                };
 | 
			
		||||
                "librespeed.toml" = { };
 | 
			
		||||
              };
 | 
			
		||||
            };
 | 
			
		||||
 | 
			
		||||
@@ -122,6 +123,19 @@ in
 | 
			
		||||
                baseURL = "https://sso.${pubDomain}";
 | 
			
		||||
              };
 | 
			
		||||
            };
 | 
			
		||||
 | 
			
		||||
            librespeed = {
 | 
			
		||||
              frontend.servers = [
 | 
			
		||||
                {
 | 
			
		||||
                  name = "Amsterdam, Netherlands";
 | 
			
		||||
                  server = "//librespeed.${domain}";
 | 
			
		||||
                }
 | 
			
		||||
              ];
 | 
			
		||||
              backend = {
 | 
			
		||||
                enable = true;
 | 
			
		||||
                extraSettingsFile = config.age.secrets."librespeed.toml".path;
 | 
			
		||||
              };
 | 
			
		||||
            };
 | 
			
		||||
          };
 | 
			
		||||
 | 
			
		||||
          users = {
 | 
			
		||||
 
 | 
			
		||||
@@ -357,6 +357,14 @@ in
 | 
			
		||||
        locations."/".proxyPass = "http://simpcraft-oci.${domain}:8100";
 | 
			
		||||
        useACMEHost = pubDomain;
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      "librespeed.${domain}" = {
 | 
			
		||||
        locations."/".proxyPass = "http://localhost:8989";
 | 
			
		||||
      };
 | 
			
		||||
      "speed.${pubDomain}" = {
 | 
			
		||||
        locations."/".proxyPass = "http://localhost:8989";
 | 
			
		||||
        useACMEHost = pubDomain;
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    minio =
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user