129273e8d8 
							
						 
					 
					
						
						
							
							Make nginx listen on all interfaces  
						
						... 
						
						
						
						Needed for local hosts to contact the nix cache via HTTP directly.
We also allow the incoming traffic on port 80.
Reviewed-by: Aleix Boné <abonerib@bsc.es> 
						
						
					 
					
						2025-04-15 14:08:07 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							fdac196c6c 
							
						 
					 
					
						
						
							
							Fix nginx /cache regex  
						
						... 
						
						
						
						`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> 
						
						
					 
					
						2025-04-15 14:08:04 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							9fd35a9ce4 
							
						 
					 
					
						
						
							
							Don't move doc in web output  
						
						... 
						
						
						
						Reviewed-by: Aleix Boné <abonerib@bsc.es> 
						
						
					 
					
						2025-04-08 17:15:19 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							0d4eebbb59 
							
						 
					 
					
						
						
							
							Remove exception to fetch task endpoint  
						
						... 
						
						
						
						It causes the request to go to the website rather than the Gitea
service.
Reviewed-by: Aleix Boné <abonerib@bsc.es> 
						
						
					 
					
						2025-01-16 14:23:43 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							6942f09f69 
							
						 
					 
					
						
						
							
							Keep host header for Grafana requests  
						
						... 
						
						
						
						This was breaking requests due to CSRF check.
See: https://github.com/grafana/grafana/issues/45117#issuecomment-1033842787 
Reviewed-by: Aleix Boné <abonerib@bsc.es> 
						
						
					 
					
						2025-01-16 14:23:32 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							56f6855af7 
							
						 
					 
					
						
						
							
							Ignore logging requests from the gitea runner  
						
						... 
						
						
						
						Reviewed-by: Aleix Boné <abonerib@bsc.es> 
						
						
					 
					
						2025-01-16 14:23:28 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							81c822e68e 
							
						 
					 
					
						
						
							
							Log the client IP not the proxy  
						
						... 
						
						
						
						Reviewed-by: Aleix Boné <abonerib@bsc.es> 
						
						
					 
					
						2025-01-16 14:23:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							9ea7b2b475 
							
						 
					 
					
						
						
							
							Add p command to paste files  
						
						... 
						
						
						
						Reviewed-by: Aleix Boné <abonerib@bsc.es> 
						
						
					 
					
						2025-01-16 14:23:10 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							fce4d89e1d 
							
						 
					 
					
						
						
							
							Use nginx to serve website and other services  
						
						... 
						
						
						
						Instead of using multiple tunels to forward all our services to the VM
that serves jungle.bsc.es, just use nginx to redirect the traffic from
hut. This allows adding custom rules for paths that are not posible
otherwise.
Reviewed-by: Aleix Boné <abonerib@bsc.es> 
						
						
					 
					
						2025-01-16 14:23:07 +01:00