1. Caddy version (caddy version
):
v2.4.6
2. How I run Caddy:
a. System environment:
c. Service/unit/compose file:
Paste full file contents here.
Make sure backticks stay on their own lines,
and the post looks nice in the preview pane.
d. My complete Caddyfile or JSON config:
:80 {
header {
Cache-Control "no-cache"
}
request_body {
max_size 100MB
}
handle_path /* {
file_server
root * /usr/share/caddy
try_files {path} {path}/ /index.html
}
}
3. The problem I’m having:
1、Missing some static files when requesting the page causes the page to be blank
2、A blank page is an occasional occurrence, and sometimes it can be accessed normally. All static files are available