-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file_server browse
does not work
#4458
Comments
Hmm. Either I don't understand what you're reporting, or I can't replicate the issue. I have a directory structure like this:
So, I don't understand what the problem is. |
Folder
Caddyfile:
Curl output:
Debug output with
|
I have also temporarily disabled the systemd protection measures:
|
What is interesting is that it does load files under |
strace output:
|
Ah my issue looks like a dupe of #4411 and fix is slated for 2.5.0, sorry for wasting your time! You can close this issue after verifying that it indeed is a dupe. |
Closing, |
Ah good, thanks for noticing that. I did test on a build from master and not from 2.4.6, so that was my mistake. But I guess I also didn't use a symlink when testing it so I probably would have never realized that was the cause. Thanks for digging deeper to confirm! Appreciated. |
Some parts of the issue report has been altered for privacy reasons.
1. Caddy version (
caddy version
):v2.4.6 h1:HGkGICFGvyrodcqOOclHKfvJC0qTU7vny/7FhYp9hNw=
2. How I run Caddy:
a. System environment:
b. Command:
c. Service/unit/compose file:
d. My complete Caddyfile or JSON config:
3. The problem I'm having:
Caddy tries to load the given (non-existant) index file
none.index.index.none.txt
and when it can't find the file; instead of rendering the file browser, it throws a 404.4. Error messages and/or full log output:
5. What I already tried:
N/A
6. Links to relevant resources:
N/A
The text was updated successfully, but these errors were encountered: