Skip to content

Implement Caddy API calls for DBMaker for a proxy server #311

@kunalvirwal

Description

@kunalvirwal

DBMaker requires TCP calls to communicate to DB clients but these calls can't be routed by cloudflare for free or without multiple daemons running on both sides. For connection to DB Clients we can not reveal IPs of the server instances running DB Maker.

So a work around for the cloudflare issue is to use another secondary proxy server whose IP can be made public safely and run Caddy as a reverse proxy. Now whenever a new DB is created, DB Maker will make API calls to Caddy to add a new entry for the DB as Caddy allows TCP routing. A DNS-only A entry for the Caddy instance will also be created on cloudflare depending on the DB name given by the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions