Finely dice the onion and garlic, core the chilli pepper and dice finely. Sweat in olive oil until translucent. Add zucchini (quartered in slices) and aubergines (diced) and sauté. Deglaze with 150 ml red wine, add tomatoes (peeled and diced). Dissolve 3 teaspoons of vegetable stock in 150 ml of water and add. Stir in tomato paste. Season with pepper, oregano, basil and thyme. Let the sauce simmer until the vegetables still have a bite. Add the pecorino.
At the same time, cook the spaghetti in plenty of salted water until al dente and mix into the vegetable sauce.