To configure an HTTP middleware you need to follow this convention in the config file:
[http.middlewares.middleware_name] ... config ...
Configuration for the Auth middleware
Configuration for the CORS middleware