Conditionally use middleware

Is it possible to use middleware conditionally? I use Authelia for auth but would like to circumvent it when the service is called within my LAN?

1 Like