:8020 {
    root * /usr/share/caddy

    # Authenticated app served under /app
    handle_path /app* {
        uri strip_prefix /app
        try_files {path} /index.html
        file_server
    }

    # Marketing site is the public default
    handle {
        try_files {path} /marketing.html
        file_server
    }
}

