The static file request is incomplete, resulting in a blank page

1. Caddy version (caddy version):


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 /* {
        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

4. Error messages and/or full log output:

5. What I already tried:

6. Links to relevant resources:

I don’t understand. What’s the problem? Please elaborate.

Please post your logs, and show example curl -v requests that exhibit the problematic behaviour.

Please complete the entire help topic template. You didn’t give us enough information to help you.

This topic was automatically closed after 30 days. New replies are no longer allowed.