I would like the ability to protect an exact path, and not the child directory. The reason is that I'd want to protect the file listing (Served with browse on the / path) but allow access to all subfiles. This is for a download server where the paths should stay private.
Essentially, I'd lime a config similar to:
https://example.com {
root /srv/http
jwt {
path /
exact_path true
redirect /login
}
login {
login_path /login
}
browse
}
Anyone would be able to access the paths under /, but getting to / (invoking browse) would require a login.
I would like the ability to protect an exact path, and not the child directory. The reason is that I'd want to protect the file listing (Served with browse on the
/path) but allow access to all subfiles. This is for a download server where the paths should stay private.Essentially, I'd lime a config similar to:
Anyone would be able to access the paths under
/, but getting to/(invoking browse) would require a login.