feat(tazjin/nixos): serve radicle explorer UI on koptevo
Change-Id: Ie5075ee8d2663bfffb3f90388a46f9bc19f6e462 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12488 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
		
							parent
							
								
									e737488d92
								
							
						
					
					
						commit
						767bc726ef
					
				
					 1 changed files with 21 additions and 1 deletions
				
			
		|  | @ -233,6 +233,7 @@ in | |||
| 
 | ||||
|     settings = { | ||||
|       web.pinned.repositories = [ | ||||
|         "rad:z3r5zMi9U3az3i4cPKxMcA3K7xx9L" # depot | ||||
|         "rad:z2mdnBK1tX6pibdBfRct3ThCgheHu" # tvix-go | ||||
|       ]; | ||||
| 
 | ||||
|  | @ -263,7 +264,26 @@ in | |||
|   services.nginx.virtualHosts."rad.y.tazj.in" = { | ||||
|     enableSSL = true; | ||||
|     useACMEHost = "y.tazj.in"; | ||||
|     locations."/".proxyPass = "http://127.0.0.1:7235"; | ||||
|     locations = config.services.nginx.virtualHosts."rad.tazj.in".locations; | ||||
|   }; | ||||
| 
 | ||||
|   services.nginx.virtualHosts."src.tazj.in" = { | ||||
|     enableACME = true; | ||||
|     forceSSL = true; | ||||
| 
 | ||||
|     locations."/" = { | ||||
|       root = depot.third_party.radicle-explorer; | ||||
|       index = "index.html"; | ||||
|       extraConfig = '' | ||||
|         try_files $uri $uri/ /index.html; | ||||
|       ''; | ||||
|     }; | ||||
|   }; | ||||
| 
 | ||||
|   services.nginx.virtualHosts."src.y.tazj.in" = { | ||||
|     enableSSL = true; | ||||
|     useACMEHost = "y.tazj.in"; | ||||
|     locations = config.services.nginx.virtualHosts."src.tazj.in".locations; | ||||
|   }; | ||||
| 
 | ||||
|   programs.mtr.enable = true; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue