{
    auto_https off
}

:80 {
    handle_path /api/* {
        reverse_proxy app:8080
    }

    handle_path /ws {
        reverse_proxy app:8080
    }

    handle_path /livekit/* {
        reverse_proxy livekit:7880
    }

    handle {
        root * /srv/web
        try_files {path} /index.html
        file_server
    }
}
