`nix-serve` does not handle duplicates in the path: ``` hut$ curl http://127.0.0.1:5000/nix-cache-info StoreDir: /nix/store WantMassQuery: 1 Priority: 30 hut$ curl http://127.0.0.1:5000//nix-cache-info File not found. ``` This meant that the cache was not accessible via: `curl https://jungle.bsc.es/cache/nix-cache-info` but `curl https://jungle.bsc.es/cachenix-cache-info` worked. Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
Description
				
					Languages
				
				
								
								
									Nix
								
								87.2%
							
						
							
								
								
									C++
								
								7%
							
						
							
								
								
									Shell
								
								3.2%
							
						
							
								
								
									Python
								
								1.3%
							
						
							
								
								
									CSS
								
								0.6%
							
						
							
								
								
									Other
								
								0.5%