Global markdown Template

wild cards appearntly work with try_files, goahed and look at my CDN, i have it working without error now, thanks for that first edit suggestion, makes it so it doesnt error on directories

https://cdn.merith.tk {
        import cloudflare
        root * /opt/FileServer

        basicauth /games/ {        }
        basicauth /cdn/PasswordProtected/ {        }

        templates
        file_server /* browse

        @mdcheck {
                path *.md
        }
        route @mdcheck {
                try_files *.md /_Releases/cdn/markdown.html
        }
}```