Add anubis to nekomesh host
This commit is contained in:
		
					parent
					
						
							
								b5318d86fb
							
						
					
				
			
			
				commit
				
					
						475134a847
					
				
			
		
					 6 changed files with 17 additions and 4 deletions
				
			
		
							
								
								
									
										12
									
								
								config/hosts/metrics-nekomesh/anubis.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								config/hosts/metrics-nekomesh/anubis.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
{ config, ... }:
 | 
			
		||||
{
 | 
			
		||||
  services.anubis = {
 | 
			
		||||
    instances."nekomesh" = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      settings = {
 | 
			
		||||
        TARGET = "http://${config.services.grafana.settings.server.http_addr}:${builtins.toString config.services.grafana.settings.server.http_port}";
 | 
			
		||||
        SERVE_ROBOTS_TXT = true;
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue