{
    admin off
    auto_https off
}

:80 {
    encode zstd gzip

    handle_path /{$URL_PREFIX:api-address}/django_static/* {
        root * /app/staticfiles
        file_server
    }

    handle {
        reverse_proxy 127.0.0.1:8001
    }

    log {
        output stdout
        format console
    }
}
