caddy
caddy copied to clipboard
file_server returns 404 after some time
Issue Details
I'm running Caddy 2.10.2 with a Caddyfile config in Win Server 2022, to serve a filesystem directory as a static file virtual directory for a certain host domain. When I start Caddy it works fine, however after a certain time it seems to hit a uptime limit or something and it stops behaving as expected, instead returning a "404 page not found." No logs seem to be written when this 404 happens, might need to increase log levels to get more information. No log config in the file yet.
Caddyfile relevant config:
# --- /docs = static file directory ---
handle_path /biblioteca* {
root * D:\FTP\ac\static
file_server browse
}
Assistance Disclosure
AI not used
If AI was used, describe the extent to which it was used.
No response
Nevermind I forgot I had changed directory handle name