Hello,
I am new to caddy but this used to work for me in the past and now somehow i am not able even if the matcher is correct it is not showing the index.html of that route + matcher
{
security {
authorization policy validation {
allow roles user
crypto key token name auth_token
crypto key verify test
set auth url https://domain.com/temp/notfound
disable auth redirect query
}
}
}
domain.com {
@notFound {
path /temp/notfound
}
route @notFound {
root * /var/www/html/antibot
file_server
}
@checkCaptcha {
path /temp/case*
query id=*
}
route @checkCaptcha {
root * /usr/share/caddy/
file_server
}
route * {
authorize with validation
root * /usr/share/caddy/
file_server
}
}
I have tried various alternatives like direct root /tmp/case* did not work
I am new to topics so sorry if i do not tell out my problem correctly