Melt butter and olive oil in a large skillet over medium heat. Add onions and garlic and cook, stirring often, until the onions are softened and beginning to caramelize, about 10 minutes.
Sprinkle flour over the onion mixture and stir to combine. Cook, stirring constantly, for 1 minute.
Add chicken broth, thyme, salt, and pepper to the skillet and bring to a simmer. Simmer until the liquid is slightly thickened, about 4 minutes.
Stir in white wine and cook for 1 minute more.
Remove from heat and pour the onion mixture into a greased 2-quart baking dish.
Sprinkle Gruyere cheese and mozzarella cheese over the top of the onion mixture.
Bake in preheated oven until the cheese is melted and bubbly, about 25 minutes.
Serve hot.
Interesting Facts
This French Onion Casserole is a classic French dish that is usually served as a main course.
The onions are caramelized for added flavor and the cheese is melted to perfection.
This casserole is an easy-to-make comfort food that is sure to be a hit!