Okay so it did work, however it attempts to work on EVERYTHING, even folders… And i am pretty sure its because i goofed the matcher
part
route *.md {
try_files *.md /_Releases/cdn/markdown.html
}
{"level":"error","ts":1597233536.1007915,"logger":"http.log.error","msg":"template: /_Releases/cdn/markdown.html:2:20: executing \"/_Releases/cdn/markdown.html\" at <include $markdownFilePath>: error calling include: read /opt/FileServer/Workspace/_misc/DND: is a directory","request":{"method":"GET","uri":"/Workspace/_misc/DND/","proto":"HTTP/1.1","remote_addr":"108.162.246.138:49830","host":"cdn.merith.tk","headers":{"Cf-Ipcountry":["US"],"X-Forwarded-For":["98.142.44.233"],"X-Forwarded-Proto":["https"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"],"Sec-Fetch-Mode":["navigate"],"Cf-Request-Id":["0485a32b44000002a24baa1200000001"],"Cf-Ray":["5c1c6e2539f202a2-SEA"],"Upgrade-Insecure-Requests":["1"],"Cf-Connecting-Ip":["98.142.44.233"],"Cf-Visitor":["{\"scheme\":\"https\"}"],"Sec-Fetch-Site":["same-origin"],"Sec-Fetch-Dest":["document"],"Referer":["https://cdn.merith.tk/Workspace/_misc/"],"Accept-Language":["en-US,en;q=0.9"],"Cookie":["__cfduid=d8c55d4000c6014a93d06c0967202fd551595633270"],"Cdn-Loop":["cloudflare"],"Connection":["Keep-Alive"],"Accept-Encoding":["gzip"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"]},"tls":{"resumed":false,"version":772,"ciphersuite":4867,"proto":"","proto_mutual":true,"server_name":"cdn.merith.tk"}},"duration":0.001364812,"status":500,"err_id":"udzqi2xhi","err_trace":"templates.(*Templates).executeTemplate (templates.go:305)"}