How to use a default Route or empty rule?

Is there a way to specify a default route?

I see that rule has to be present on http.routers and it may not be empty. This does not work and logs an error.

rule = "" 

The Workaround I'm using right now is:

rule ="Host(``)"

This also logs an error but works...

So what is the correct way?


If you want a rule that matches all requests, try:


@daniel.tomcej awesome thank you.