Nomos is from another Greek word nemein , to distribute. Economy is from Greek oikonomia , household management. Our sense of economy as thrift echoes this root sense. By extension economy has come to include all enterprise. In Greek economos meant steward, the household manager, the agent of economia, good management, thrift.
Ecology is the natural traditional and proper context of economy.
In a deep and fateful sense economy is an aspect of ecology, an actor, a part in its drama. But this is not how modern economy understands itself. Stock market speculation does not know, care about or require a real locale. Modern economy is a traveling salesman with no home. Its logic is profit based not place based, hence the wholesale migration of business to cheap labor locales and the standard argument that environmental regulations are limiting business growth.