Compare commits
	
		
			2 commits
		
	
	
		
			1640f74ea9
			...
			5a5e8d31db
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 5a5e8d31db | |||
| 0d508468e6 | 
					 1 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -23,4 +23,15 @@
 | 
			
		|||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  services.nginx = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    virtualHosts."s3.infra.newtype.fr" = {
 | 
			
		||||
      forceSSL = true;
 | 
			
		||||
      enableACME = true;
 | 
			
		||||
      locations."/".proxyPass = "http://[::1]:3900/";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  networking.firewall.allowedTCPPorts = [ 80 443 ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue