:80 {
	@xrpc {
		path /xrpc/*
		path /.well-known/*
	}

	# Handle /xrpc/ routes - forward to the API backend (web service)
	handle @xrpc {
		reverse_proxy localhost:3000
	}

	# Handle all other routes - forward to the web-ui frontend
	handle /* {
		reverse_proxy localhost:3001
	}
}
