mirror of
				https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
				synced 2025-10-30 16:58:03 +01:00 
			
		
		
		
	grzegorz: add and shortcut on main domain
This commit is contained in:
		
							parent
							
								
									eceb2ce4c7
								
							
						
					
					
						commit
						9e00d143f8
					
				| @ -46,6 +46,15 @@ in { | |||||||
|         allow 2001:700:300:1900::/64; |         allow 2001:700:300:1900::/64; | ||||||
|         deny all; |         deny all; | ||||||
|       ''; |       ''; | ||||||
|  | 
 | ||||||
|  |       locations."/docs" = { | ||||||
|  |         proxyPass = "http://${grg.settings.host}:${toString grg.settings.port}"; | ||||||
|  |       }; | ||||||
|  | 
 | ||||||
|  |       locations."/api" = { | ||||||
|  |         proxyPass = "http://${grg.settings.host}:${toString grg.settings.port}"; | ||||||
|  |         proxyWebsockets = true; | ||||||
|  |       }; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     "${machine}-backend.pvv.ntnu.no" = { |     "${machine}-backend.pvv.ntnu.no" = { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 h7x4
						h7x4