<DOMAIN> {
    handle_path /api/* {
        rewrite /api/* /{http.request.uri.path.4}
        reverse_proxy webservice-inp21b:8080
    }

    handle / {
        reverse_proxy frontend:5173
    }

    tls internal
}

http://<DOMAIN> {
    handle_path /api/* {
        rewrite /api/* /{http.request.uri.path.4}
        reverse_proxy webservice-inp21b:8080
    }

    handle / {
        reverse_proxy frontend:5173
    }
}


