-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
404 Being returned for basic file_server #4605
Comments
Could possibly be related to changes made for #4407, but I am unsure. |
Does it work on the latest tip if you build from source? |
These are the two versions tested. I can try to directly from source. v2.4.6 h1:HGkGICFGvyrodcqOOclHKfvJC0qTU7vny/7FhYp9hNw= |
Building from source yields a 200 response code, but no file browser or direct paths |
Ok. Thanks for checking. It's not immediately clear to me what is going on, so I'll need your help to understand it better. Ideally, we need to be able to reproduce the bug in the most minimal way possible. This allows us to write regression tests to verify the fix is working. If we can't reproduce it, then you'll have to test our changes for us until it's fixed -- and then we can't add test cases, either. I've attached a template below that will help make this easier and faster! This will require some effort on your part -- please understand that we will be dedicating time to fix the bug you are reporting if you can just help us understand it and reproduce it easily. This template will ask for some information you've already provided; that's OK, just fill it out the best you can. 👍 I've also included some helpful tips below the template. Feel free to let me know if you have any questions! Thank you again for your report, we look forward to resolving it! Template
Instructions -- please heed otherwise we cannot help you (help us help you!)
Example of a tutorial: Create a config file: |
I ended up trying on a new system clean build, everything works correctly, docker as well. Must have been a caching issue. Tried and compiled both versions and could not reproduce on the new system. |
Ok. Thanks for thoroughly testing and for the update! |
Caddy 2.4.6
I have a basic HTTP server hosting some static files in /site/certs.
Caddyfile
Everything works perfectly fine in 2.4.5. In 2.4.6, all requests return 404, when specifying the root path, or a direct path to a given file.
The text was updated successfully, but these errors were encountered: