web-2 meows
This commit is contained in:
		
							
								
								
									
										16
									
								
								hosts/web-2/meow.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								hosts/web-2/meow.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
{ ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  services.nginx.virtualHosts = {
 | 
			
		||||
    "meow.clerie.de" = {
 | 
			
		||||
      enableACME = true;
 | 
			
		||||
      forceSSL = true;
 | 
			
		||||
      locations."/" = {
 | 
			
		||||
        return = ''200 "meow"'';
 | 
			
		||||
        extraConfig = ''
 | 
			
		||||
          add_header Content-Type text/plain;
 | 
			
		||||
        '';
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user