Sorry if this question is already documented somewhere, I couldn’t find anything from my search.
I’m completely new to caddy and I’m trying to specify only 2 subdirectories in my root to allow access to.
Current directory is structered:
A1
Custom Templates
Docs
Images
Report 1
Report 2
…
Report 25
Text Templates
I only want access allowed to the Images and Docs folders. I saw there is a “not path” directive, but I didn’t want to specify all sub-directories to not include, just the ones I want.
Sorry if this is a stupid question. Thanks.
4. Error messages and/or full log output: “This site can’t be reached”
Sorry, I realized I worded that stupid. I’m just trying to limit the file browse to only show two folders. Instead of listing what shouldn’t be present, I just wanted to list the two that should be present.
Nope, currently the only way to do that is with hide. We could probably add the reciprocal, show. You can open a feature request on github for this if you like.